VBA (Access) file upload error: Unable to get local issuer certificate
I am attempting to run an upload of .txt files from a folder on my computer to my websits /downloads/test folder, via VBA
I have created a subroutine which builds my script and attempts to run it with the following commands:
Dim objShell as object
'all of that crap converts to:
and the script file looks like:
But I'm getting an error during this process:
Summary: Unable to get local issuer certificate
I have created a subroutine which builds my script and attempts to run it with the following commands:
Dim objShell as object
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"
and the script file looks like:
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
But I'm getting an error during this process:
Summary: Unable to get local issuer certificate