Click or drag to resize
FTPUtilitiesDeleteFile Method
Delete a files via FTP

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

Parameters

ftpConfig
Type: ProFTPNetLibraryFTPUtilitiesFTPConfiguration
FTP configuration structure
relativePath
Type: SystemString
Directory relative path (es: "mydirectory"), do not add \ or /
filename
Type: SystemString
Name of the file to delete

Return Value

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