Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.3k views
in .NET FTP by (120 points)
I am facing problem copying or moving files/folders from from one server directory to another server directory within the same FTP server.Is there any methods for moving or copying the files from one location to another location within the same server?pls help.

3 Answers

0 votes
by (162k points)
Unfortunately FTP doesn't support this - the simplest way to do it is download the files to a temporary area, upload them to the new location, delete from the old location and delete the temporary area.
0 votes
by (400 points)
Bruce,
Does ftpconnection1.renamefile(file1,file2) only work within the same folder?

Thanks,

Jim
0 votes
by (162k points)
Generally yes. There may be some servers that support supplying different paths but not usually.

Categories

...