Chilkat HOME Android™ ASP Visual Basic VB.NET C# iOS (IPhone) Objective-C C++ C Unicode C++ Unicode C MFC Delphi DLL Delphi ActiveX FoxPro Java Perl PHP Extension PHP ActiveX Python PowerShell Ruby SQL Server VBScript
Display the Session Log for an FTP SessionDownload: Chilkat .NET Assemblies C# program demonstrating how to keep a session log. Chilkat.Ftp2 ftp = new Chilkat.Ftp2(); bool unlocked = ftp.UnlockComponent("Anything begins 30-day trial"); if (!unlocked) { MessageBox.Show(ftp.LastErrorText); return; } ftp.Hostname = "ftp.***.com"; ftp.Username = "***"; ftp.Password = "***"; // Turn on session logging. ftp.KeepSessionLog = true; bool ok = ftp.Connect(); if (!ok) { MessageBox.Show(ftp.LastErrorText); return; } // Upload a file to the FTP server. ok = ftp.PutFile("myLocalFile.txt","remoteFileToBeCreated.txt"); if (!ok) { MessageBox.Show(ftp.LastErrorText); return; } // Display the contents of the session log. MessageBox.Show(ftp.SessionLog); Important: The download for this
example does not contain the ChilkatDotNet.dll which |
© 2000-2013 Chilkat Software, Inc. All Rights Reserved.