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>");
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