commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhamilton <bhamil...@allrelated.name>
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?

Thanks!
Brenda

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message