I need a very simple sample application which I will take the code for a different project. Here are the specifications:
1. The Interface will just be a simple box that contains the following entry blanks:
FTP Site source
Username
password
path
FTPSite destination
Username
password
path
Start Button
Layout is not important, this screen will not be used except for this sample.
2. The functionality of the application will simply to be to log onto the first FTP Source site, go to the path, and then copy all the files and folders (recursively) to the FTP Destination Site. The local computer will only be used as a "passthrough" to ultimately upload to the destination.
3. The application should download and upload simultaneously. In other words, as soon as the first file is downloaded from the Source site, it should immediately begin to upload to the destination while downloading the next file. Because there may be speed difference, the download may finish sooner than the uploading, so things should queue.
4. Display a simple notification when the copy has completed and FTP connections are closed. No files from the transfer should be retained on the local computer.
Of course, I could do this manually with any FTP client, but the point of this code is a sample for me so I can incorporate it into another program.