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
Download FTP Text File Directly to String VariableDownload: Chilkat .NET Assemblies C# program demonstrating how to download a text file into a string variable. 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 = "***"; bool ok = ftp.Connect(); if (!ok) { MessageBox.Show(ftp.LastErrorText); return; } string s; s = ftp.GetRemoteFileTextData("sampleText.txt"); if (s == null) { MessageBox.Show(ftp.LastErrorText); return; } MessageBox.Show(s); Important: The download for this
example does not contain the ChilkatDotNet.dll which |
© 2000-2013 Chilkat Software, Inc. All Rights Reserved.