Represents an item in a directory listing retrieved from FTP server.
Namespace: Jscape.FtpAssembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0
Syntax
Examples
CopyFtp
Ftp ftp = new Ftp("ftp.myserver.com", "anonymous", "user@myserver.com");
ftp.Connect();
IEnumerator e = ftp.GetDirListing();
while (e.MoveNext()) {
FtpFile file = (FtpFile) e.Current;
}
CopyFtp
' create new Ftp instance
Dim myFtp As Ftp = Nothing
myFtp = New Ftp("ftp.myserver.com", "anonymous", "user@myserver.com")
' connect to FTP server
myFtp.Connect()
' get dir listing
Dim e As IEnumerator = Nothing
While e.MoveNext
' get FtpFile instance
Dim file As FtpFile = Nothing
file = e.Current
End While
Inheritance Hierarchy
See Also