Topic "command line get"

Author Message
bparker44

Guest


I'm trying to create a batch file that will get the all the files in a remote server and download them to my local directory. I just need all files in the remote dir.

It's says "no differances found". Here's my command line. I get logged in fine.

winscp.exe sdm /synchronize /incoming/BRIAN /defaults

Can anyone help
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You have to specify local directory before the remote one. Also I would recommend using scripting instead.
_________________
Martin Prikryl
bparker44

Guest


prikryl wrote:
You have to specify local directory before the remote one. Also I would recommend using scripting instead.


I tired adding the local and it connects but then brings up the synchronize dialog box and I have to click on ok. How can I automate this so it is un-attended?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
http://winscp.net/eng/docs/commandline#operations
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License