Receiving Reply 1004 to Command 4
Hi,
I'm using WinSCP 6.1.2.13797 command line to automate the process of backing up content from my Azure FTP server. I do this via a PowerShell script using the command:
I intermittently receive this response causing the WinSCP command to exit:
Thank you
I'm using WinSCP 6.1.2.13797 command line to automate the process of backing up content from my Azure FTP server. I do this via a PowerShell script using the command:
& "C:\Program Files (x86)\WinSCP\WinSCP.com" ` /log="$WinSCPLog" /loglevel=2 /logsize=6*1500M /ini=nul ` /command ` "option batch on" ` "open ftps://<user>:<password>@<server>" ` "cd /" ` "lcd $CurrentMonthDirectory" ` "synchronize local -delete -preservetime LogFiles LogFiles" ` "synchronize local -delete -preservetime site site" ` "synchronize local -delete -preservetime data data" ` "exit"
Are there any suggestions to what may be causing this? Are there any ways to improve my script to account for this and continue the backup?Got reply 1004 to command 4
Thank you