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

First: If i start winscp.exe with the param /console, the winSCP Console opens in a new window. How can i put code in this window automatically?

Use winscp.com, not winscp.exe, as all the examples show.

Secondly: How can i get a full folder from the host, not only a file? With "get foldername d:\" for example?

Yes.
Guest

Great, thank you!

i have tried to login and it works successfully.
I "following" this script:

# Connect

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"
# Change remote directory
cd /home/user
# Force binary mode transfer
option transfer binary
# Download file to the local directory d:\
get examplefile.txt d:\
# Disconnect
close


But i have 2 questions...
First: If i start winscp.exe with the param /console, the winSCP Console opens in a new window. How can i put code in this window automatically?
Secondly: How can i get a full folder from the host, not only a file? With "get foldername d:\" for example?
Guest

Make a Backup from a Root

Hello together,

is it possible to connect on a Host and make a local backup from a specific folder?
Full automatically...

Thanks so much