Topic "Error occurred during logging"

Author Message
PeteFishwick
[View user's profile]

Joined: 2015-03-30
Posts: 5
Location: Truckcom Systems - UK
I am having problems connecting to an FTP server using .NET

I want to log what is going on when I try to open the connections. I have set the SessionLogPath but when I try the Open I get a SessionRemoteException
of "Error occurred during logging. It's been turned off"

I'd understood that setting SessionLogPath was sufficient to enable logging.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
How did you set the SessionLogPath? Did you include a filename in the path?
_________________
Martin Prikryl
PeteFishwick
[View user's profile]

Joined: 2015-03-30
Posts: 5
Location: Truckcom Systems - UK
No, I just set it as:

Dim SessionLogpPath As String = "C:\"

Should I have included a filename?

prikryl wrote:
How did you set the SessionLogPath? Did you include a filename in the path?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Sure. It's a path to the log. Not a path to a log directory.
_________________
Martin Prikryl
PeteFishwick
[View user's profile]

Joined: 2015-03-30
Posts: 5
Location: Truckcom Systems - UK
Thank you
prikryl wrote:
Sure. It's a path to the log. Not a path to a log directory.
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