NET SFTP Library
EnableLogging(String) Method






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class > EnableLogging Method : EnableLogging(String) Method
Log all FTP commands, responses and exceptions to a file.
Syntax
'Declaration
 
Public Overloads Function EnableLogging( _
   ByVal filePath As System.String _
) As System.Boolean
'Usage
 
Dim instance As SFTP
Dim filePath As System.String
Dim value As System.Boolean
 
value = instance.EnableLogging(filePath)
public System.bool EnableLogging( 
   System.string filePath
)
public function EnableLogging( 
    filePath: System.String
): System.Boolean; 
public function EnableLogging( 
   filePath : System.String
) : System.boolean;
public: System.bool EnableLogging( 
   System.string* filePath
) 
public:
System.bool EnableLogging( 
   System.String^ filePath
) 

Parameters

filePath
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFTP Class
SFTP Members
Overload List