winscp version: 5.5.2 (build 4130)
i am trying to upload a .txt file, and i've templated a script off the example posted here:
the script generates the following strShell string:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" userID:email@example.com "put \\local drive\local folder\FTP_Upload_Test.txt /ftp path folder/sub-folder/" "close"
which i execute with: Shell strShell
1. i've set up the host login with the userID and password that i'm assigning in the strShell string, and can login manually with no problem; however when i execute the shell command, it initially follows the same login sequence, but then says "access denied" and then asks for the pw to be entered again.
2. re-entereing the pw does allow the login to proceed successfully, but the file transfer does not occur