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



-----Original Message-----
From: James Wolfe [mailto:[email protected]] 
Sent: Thursday, February 11, 2010 12:29 PM
To: cf-talk
Subject: CFFTP "copy" command? - Found word(s) mp3 in the Text body


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:330607
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