Post a reply

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)


Topic review


Tried write a script but it does not download the file sftp://usernamee:password -hostkey=*

# Change remote directory
echo cd /folder
# Download file to the local directory
echo get file.txt c:\Users\user\Download
# Disconnect
echo exit

Not sure what I did wrong