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

bala_ganesh

I posted the above question. what is that "@example.com" in the syntax?
Guest

Doubt in Open Command

Hi All,

I am very new to winscp. My requirement is very simple. I just need to download the files from ftp and save it in local drive. I am trying to write batch file by getting online help. I have a doubt in Open command.

Syntax(Got it online):
open sftp://user:password@example.com/ -hostkey="ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"

I am not sure how to change it. For example, my FTP address is ftp.sourcing.com and username/password is catftp/pass123. I dont know what the host key is. Please guide me on how to write ftp command.