I need to rename/move a file to a different folder after downloading.

When I log into the customer's FTP site via the url, user, password it put in into a particular folder.

I can download these files using the URI but I cannot Rename (Move) into a different folder (i.e. DONE). I get a
The remote server returned an error: (550) File unavailable (e.g., file not found, no access
using the FTP Class and FTPClient.

Please tell me how this can be done without using 3rd party software.

The issue seems to be sending the URI out with
ftp://nnn.nnn.nnn.nnn/x.txt
when in fact we are in a folder based on the user ID home folder.
i.e. ftp://nnn.nnn.nnn.nnn/user/x.txt

Just don't know how to get around this.

Please help.

Without having access to the site to play with, my first guess would be either that you have failed to fully qualify the file(s) you want to fetch or that you haven't issued a "CD" command (or possibly "CHDIR") to change into the correct folder on the remote site.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.