Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.6k views
in .NET FTP by (180 points)
Hi All

Sorry, this is probably basic stuff, but can someone point me in the direction of an example of how to enable / set logging options for the EnterpriseDT.Net.Ftp DLL in C# ? - The caveat being that we're using an old version of this DLL: 1.2.1 (This is unlikely to change anytime soon), so most of the functions documented on this site don't apply to the version we're using.

I've been playing around with test apps, but without any relevant documentation, it's all been a bit trial and error. From what I can tell, I need to declare an instance of EnterpriseDT.Util.Debug.Logger, but the constructor for this class is spitting out some really odd errors (states it takes no arguments, even though I'm not passing any to it!)

Is this even the right way to go about this ? - I've inherited a legacy app that uses EnterpriseDt.Net.Ftp, and we're struggling to understand how this works.

Any pointers on this would be welcome. Or am I just pushing my luck ? :wink:

Thanks
Z

1 Answer

0 votes
by (162k points)
Not sure if this applies:

http://www.enterprisedt.com/products/ed ... gging.html

Or try

Logger log = Logger.GetLogger("MyName");

Categories

...