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

thefugitive

Re: Help me to write a batch file to transfer a file 2 sftpsite

option batch abort

option confirm off

open sftp://XXXXXX:XXXXXXX@sftp.acme.com -hostkey="ssh-dss 1024 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

option transfer binary

lcd "\\NTS02\InsightCS\ERA\Files To Export"

cd "/"

put *.835 -delete -nopreservetime -nopermissions

close

exit
didd11

Help me to write a batch file to transfer a file 2 sftpsite

I need to transfer a file to a sftp site need automate this.
please help me with examples