Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Server Update 1

Status
Not open for further replies.

taneujin

MIS
Aug 14, 2001
61
SG
I am quite new to coldfusion. I know I can update a database in the coldfusion server from the web. I would like to try to update the contents of a folder in a remote server through FTP using coldfusion. Is it possible? What I mean is, the user selects a file from the web interface and sends it to the CF server and the CF server FTPs the file to another remote server.
 
To send files from the client browser to the server for storage and processing you can use cffile tag; that will acomplish the most of you requirements; the tag will accept values such as upload, move, rename, copy, delete, read, write, append and readbinary for the action attribute so you can manipulate the file in whatever way you want;

By combining the cfhttp tag and cfhttpparam tag, you can define data to be sent to the server (the role of the cfhttpparam tag) including cookies, form data, and cgi, url, and file variables, and then have them all sent to the specified web-server-based application with the cfhttp tag;

there is a lot of material on this subject; you can use this to point your research in the right direction

hope this help... Sylvano

dsylvano@hotmail.com
 
Thanks for the boost sylvano. Will check up more on those tags.

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top