Re: Certificate
Would I post that specific string of characters, behind the -Certificate argument?
Yes. That's the fingerprint of your server's certificate.
Would I post that specific string of characters, behind the -Certificate argument?
-certificate
switch to override that:
open ... -certificate=16:f9:d6:6e:ab:d7:95:4b:ff:c6:ce:b2:c6:8e:22:50:cb:70:7b:61
set objShell = CreateObject("WScript.Shell")
objShell.Run """" & ftpClientApp & """" & " /log=""" & logFile & """" & " /script=""" & scriptFile & """"
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\Work\ClientFolder\ScriptOutput\WinSCP.log" /script="C:\Work\ClientFolder\ScriptOutput\rad90DD9.tmp"
open ftp://UID:PWD@HostName/ -Explicit
# Change the remote directory
cd /Downloads/Test
# Change the local directory
lcd C:\Work\ClientFolder\SendFiles
# Upload all .txt files from the ftpLocalDir to ftpRemoteDir
put *.txt
Exit