I hope this is the right place to write this since the issue not a bug exactly since it is concerned with the following docs page: https://winscp.net/eng/docs/library_session_putfilestodirectory
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.
Edit: Also saw it in https://winscp.net/eng/docs/library_session_putfiletodirectory for
instead of local file.Full path to the remote file to upload.