Thanks! I've corrected it.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
string remoteDirectoryhave the wrong descriptions:
andFull path to the remote directory to download the files from.
The words 'local' and 'remote' should be swapped.Full path to the local directory to download the files to.
instead of local file.Full path to the remote file to upload.