Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Hi Martin,

Gazy007 wrote:

Where is the transfer setting in WinSCP ?

Select the files you want to transfer, go to Files > Download.
Transfer Options dialog shows.
And then follow the instructions in my previous post.
Gazy007

Where is the transfer setting in WinSCP? The only time I could see Transfer settings when I am trying to connect. It only shows me the script to connect but no other options. I have attached a screenshot.
Gazy007

Struggling to get this script

I have tried to script myself.
I could synchronize the files but I want to download the files and delete after the download from the folder.
Could someone please check why I am getting error.
I am trying to download all the files from download folder and delete after the download.
Resources can be found here – https://winscp.net/eng/docs/scripting
option batch abort
option confirm off
open sftp://admin:password123@myhost.com -hostkey="ssh-rsa 1024 NT733Kz444I4FmYVaVaG6tP9Tug8bU5l4tb+Ug1K168o="
 
get local C:\Temp\Target /folder/message/download -delete
exit
Gazy007

Automate SFTP Script to download and delete the files after the download from the folder

Hi,

I have never scripted anything.
I have been trying or compiling a script to download files and delete the files after the download and send email if download fail.

Has anyone got ready something like this?