The FTPClient has a rename method with 2 string parameters representing the current file name and the requested new file name, 'from' and 'to'. The 'from' file, i.e. 'someFile', is in the current working directory. Assume that there is a subdirectory, i.e. 'sub'. Using the rename method, i.e. ftpClient.rename("someFile", "sub/someFile"), would the file be moved to the subdirectory? Or am I going to have to download the file then upload the same file to the subdirectory?

Thanks!
Brenda

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to