Hi,
I am trying to rename a file while i am logged into a
ftp server.
I did something like this but i noted that the
filename was not changed on the server.
FTPFile[] files = ftpclient.listFiles(sourcefile);
files[0].setName(destfile);
No exceptions were thrown.
I had tried to log in using the same credentials on a
command prompt ftp program and i can rename the file
with no problems.
Please advice.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
|