scott.stephan Posted August 13, 2009 Share Posted August 13, 2009 Here's what I'd like to do- I have no problem formatting an ftp_get() and using it to nab a file from server x. WHat I'd like to do is then move that file from 'serverx/stufftoget' to 'serverx/stufftoget/archives' or something like that. Is there a command to MOVE a file that's remote? Link to comment https://forums.phpfreaks.com/topic/170120-need-to-ftp-grab-a-file-and-then-move-the-source-file-somewhere-else/ Share on other sites More sharing options...
scott.stephan Posted August 13, 2009 Author Share Posted August 13, 2009 Is the way to do this to: -GET the file -Write it locally -FTP it back to the archive folder -DELETE the original remote file ? Link to comment https://forums.phpfreaks.com/topic/170120-need-to-ftp-grab-a-file-and-then-move-the-source-file-somewhere-else/#findComment-897403 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.