For some reason the instructions at the bottom of the file generated by WinSCP don't work
Can you please elaborate on the problem?
For some reason the instructions at the bottom of the file generated by WinSCP don't work
c:\
. The file has the following 3 lines:
get_script.txt
in Program Files (x86)\WinSCP
(the standard directory it installs in), it contains the following 5 lines:
C:\XML
.
get -delete
but rather with an authentication.
bunn_get.txt
in C:\Program Files (x86)\WinSCP
and it goes like this:
open sftp://<key>@ftp.axiscloudplatform.com/ -hostkey="ssh-rsa 2048 <another key>="
cd /out
lcd C:\GD\Emails\Bunnings
get -delete *.xml
#also tried get -delete *.xml C:\GD\Emails\Bunnings
exit
# Execute the script using a command like:
# "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\GD\Emails\Bunnings\archive\WinSCP.log" /ini=nul /script="C:\bunn_get.txt"
bunn_edi.bat
in c:\
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\GD\Emails\Bunnings\archive\WinSCP.log" /ini=nul /script="C:\bunnings_get.txt
Authentication log (see session log for details):
Using username "<username>".
Authentication failed.