commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhamilton <>
Subject FTPClient
Date Wed, 03 Sep 2008 19:09:23 GMT
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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message