Posted: 2011-05-26 00:46
I have been using a .bat to run WinScp to download from a ftp site which works fine. The line in the .bat file is : winscp.exe /script=FMCSADownLoad.txt
A new requirement is that I put this process into the body of my .net application.
I have tried:
Process winscp = new Process();
winscp.StartInfo.FileName = "C:\\FMCSA_Upload\\winscp.com";
winscp.StartInfo.UseShellExecute = false;
winscp.StartInfo.CreateNoWindow = true;
winscp.StartInfo.RedirectStandardInput = true;
This does not work. Can anyone guide me to a way to run an existing session from a .net application?
Location: Prague, Czechia
Sorry, your post does not include enough information.
Please read how to troubleshoot problems with WinSCP. If it turns out that you are not able to help yourself, read how to ask for support or report bugs efficiently, so others can help you.
Anyway, these link may help you:
You can post new topics in this forum
And it's free!