Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.6k views
in .NET FTP by (160 points)
Hi,

I am facing an un-usual behaviour from FtpConnection.LogFile. When I give file name with path. It removes the '/' from path and set a plain string.

For example

FTPConnection.LogLevel = EnterpriseDT.Util.Debug.LogLevel.Error;
FTPConnection.LogFile ="C:/test123.txt";


It's throwing error with C:test123.txt. Kindly let me know what to do? Has it's working fine couple of days ago.

3 Answers

0 votes
by (162k points)
Try

FTPConnection.LogFile ="C:\\test123.txt";
0 votes
by (160 points)
Try

FTPConnection.LogFile ="C:\\test123.txt";



The path is turncated to 'c:est123.txt'. It's still the problem.
0 votes
by (162k points)
What version of the DLL are you using? This should not be a problem.

I take it you are using C#?

Categories

...