I'm using RWFtpClient to FTP some files...if any of you are familiar with it or any other FTP client software in C++.

My question is, I'm attempting to remote-rename some files. The documentation on RWFtpClient says to use a rnfr(), followed by a rnto(). The rnfr is "rename from" and rnto is "rename to" from what i can tell.

When i do this:

reply = client.rnfr(oldname);
reply = client.rnto(newname);

the file doesn't rename.

Guys/gals, any suggestions?