Location: Orange County, CA
Posted: 2009-01-17 01:25
I'm new to this client, but not new to FTP in general.
I am building a c# application that will essentially just run ONE command-line entry, to pull down a file.
This is what I have so far, but it just wont work: (I put placeholders <private> where necc)
winscp SFTP://<private>:<private>@<private> /command get /Download/BIN/BIN20081107.txt exit
Using console i get this to work fine. I can't get it to work with one simple command though.
Also, can I use a UNC path as a target path for the destination?
I assume that would be right after the file location path, before exit?
Location: Prague, Czechia
It would help if you post output of the console.
Anyway, first obvious problem is quoting of the commands. This may work:
winscp SFTP://<private>:<private>@<private> /command "get /Download/BIN/BIN20081107.txt" exit
You can post new topics in this forum
And it's free!