Unable to get 'put' script to work
Hello, and thanks in advance -
WinSCP version: 5.5.2 (build 4130)
Windows 2010
Protocol: FTP
I am trying to upload a
VBA/Shell script not working for large files
The script generates the following
Which I execute with:
Problems:
WinSCP version: 5.5.2 (build 4130)
Windows 2010
Protocol: FTP
I am trying to upload a
.txt
file, and I've templated a script off the example posted here:
VBA/Shell script not working for large files
The script generates the following
strShell
string:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" userID:password@host.url "put \\local drive\local folder\FTP_Upload_Test.txt /ftp path folder/sub-folder/" "close"
Shell strShell
- 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.
- Re-entering the pw does allow the login to proceed successfully, but the file transfer does not occur