putfile copies a file from the local machine to the target FTP server. I want 
to copy a file that is already on the target FTP server to a different location 
on the same server.

Again, I want a COPY not a move. I want, when I am done, to have TWO copies of 
the file on the foreign server and zero traffic between my computer and the 
server except the commands.

-james

>Hey James,
>If your trying to copy to an outside server you could use CFFTP's
>action="putfile" command.
>
>After opening a connection I use something like this...
>
><cfftp 
>       action="putfile" 
>       connection="MyConnection" 
>       localfile="local path of file to copy" 
>       remotefile="remote path of where to copy too" 
>       transfermode="binary" 
>       stoponerror="no" 
>       timeout="3600" 
>       failifexists="no" 
>       retrycount="10">
>
>
>
>
>If you just want to copy it locally form one folder to another use cffile's
>action="copy" command.
>http://livedocs.adobe.com/coldfusion/8/Tags_f_04.html
>
>
>
>Is there any way to copy a file on the FTP server from 
>
>   /directory1/fileName.mp3 
>       to 
>   /directory2/fileName.mp3
>
>without downloading it to my machine?
>
>Again, I want a COPY (not a move).
>
>Thanks,
>James 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330619
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to