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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to