Click here to Skip to main content
15,887,952 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm working on a scenario wherein I need to move some files from one FTP location to another. The FTP server is the same but credentials for the source and destination are different.

For example,

I need to copy files

FROM

"ftp://sampleftp.com/sourceFolder" with login credentials "User1", "Password1"

TO

"ftp://sampleftp.com/destinationFolder" with login credentials "user2","password_2"

Kindly note the different credentials I have used above for source and destination.

I referred to this similar stackoverflow question link but that seems to work for the FTP folder with constant login credentials.

Can someone please guide me on how best can I implement this?

Thanks a lot!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900