Get command not working for automated download

Advertisement

Celeste_Smith
Joined:
Posts:
1

Get command not working for automated download

I am currently using version 5.19.6 of WinSCP on a 2021R2 Windows server. I have no issue writing upload scripts, but can't get the download automated with a get script. I am using the script generated in the Transfer menu and can connect to the SFTP. However, I then get "get is not a command" or the batch file opens and closes immediately. When using pause it tells me it can't find a directory, or several other errors as I try and move quotes, or make adjustments. When I manually transfer/download I have not issues. Any advice would be appreciated.

Description: Image of session generated script. Potential sensitive info blacked out.

Sample Download Script.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,453
Location:
Prague, Czechia

Re: Get command not working for automated download

Please post the script as a text, not as an image. Also post the log file. And exact error message you get for the exact script you post.

Reply with quote

Advertisement

You can post new topics in this forum