Click or drag to resize
FTPUtilitiesDeleteDirectory Method
Delete a directory via FTP

Namespace: ProFTPNetLibrary
Assembly: ClientFTPNetLibrary (in ClientFTPNetLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool DeleteDirectory(
	FTPUtilitiesFTPConfiguration ftpConfig,
	string relativePath
)

Parameters

ftpConfig
Type: ProFTPNetLibraryFTPUtilitiesFTPConfiguration
FTP configuration structure
relativePath
Type: SystemString
Directory relative path to delete (es: "deleteme"), do not add \ or /

Return Value

Type: Boolean
True if deleted successfully; false otherwise
See Also