Simple one line /command to pull down a file
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?
THANKS!
Klaus Heim
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?
THANKS!
Klaus Heim