SFTPPro Example

first include the class in ur page
using SFTPPro.SFTPServer;

Example of FTP Connection and methods
FTP FTPServer=new FTP("FtpHost", "username","password");
string []strResult=FTPServer.FileList("");

FTPServer.UploadFile("<DestinationFileName>", "<SourceFileName>");
FTPServer.DownloadFile("<SourceFileName>", "<DestinationFileName>");
FTPServer.RemoveFile("<FileName>");
FTPServer.MakeDirectory("<DirectoryName>");
FTPServer.RemoveDirectory("<DirectoryName>");

Comments

Popular posts from this blog

To Move items from one ListBox to another Listbox

Receive Json Web response in C#