Click or drag to resize
FTPGetFilesList Method
Get the list of the files in a direcotry via FTP (do not delete recursive sub-directory)

Namespace: ProFTPNetLibrary
Assembly: ClientFTPNetLibrary (in ClientFTPNetLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static List<string> GetFilesList(
	Uri address,
	string username,
	string password,
	string proxyAddress,
	bool passive,
	int port,
	bool keepAlive,
	bool details
)

Parameters

address
Type: SystemUri
Uri of the directory to check (es: "ftp://www.domain.com/directory")
username
Type: SystemString
FTP access username
password
Type: SystemString
FTP access password
proxyAddress
Type: SystemString
FTP proxy (string.empty if unknown or not used)
passive
Type: SystemBoolean
FTP passive mode enabling (false if unknown or not used)
port
Type: SystemInt32
FTP access port (usually 21)
keepAlive
Type: SystemBoolean
Define if you need to keep alive the connection after the process (usually false)
details
Type: SystemBoolean

[Missing <param name="details"/> documentation for "M:ProFTPNetLibrary.FTP.GetFilesList(System.Uri,System.String,System.String,System.String,System.Boolean,System.Int32,System.Boolean,System.Boolean)"]

Return Value

Type: ListString
List of string with filenames successfully; null otherwise
See Also