Question : Upload file to webserver

Hi,

I want to upload a file to my webserver. The file is created by a coldusion script on a different server and i want to post it directly to the webserver without any interference from a user (e.g. no form or cfform that has to be submitted by a user). My webserver does not have a ftp server installed.

Kind regards,
Nebu

Answer : Upload file to webserver

Assuming you have Coldfusion on both servers you could post it across with a server side http post.

In this case the file would travel directly from one server to another server.

Have a look at CFHTTP. The sending server would CFHTTP POST the file to the receiving server.

You can attach files using an http request.

You would post the file to a cfm on the receiving server which would retrieve the content and save it with cffile locally.

Let me know if you would like more detail on any of these steps - assuming this solution fits your requirements. Otherwise please be more specific about what you are trying to achieve.

Thanks
Random Solutions  
 
programming4us programming4us