Topic "winscp is not generating the log file when used with .NET"

Author Message


I have followed the guidelines on
.NET Process initially complained about not being able to locate to run it,
so I moved the file to the right location, so I know it is running winscp now.

I have put in some scripting for the winscp Process to run.
Problem now is it's not generating the log.xml. I have no idea where I made mistakes in the scripts.

The code

XPathDocument log = new XPathDocument("log.xml");

throws an IO.FileNotFoundException saying log.xml could not be found.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
Can you post more code? What version of WinSCP are you using?

Also, you should better use WinSCP .NET assembly anyway:
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License