FTP_Delete

4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next

version 6.5


FTP_Delete (ftp_ID; hostPath) Integer

ParameterTypeDescription
ftp_IDLongintReference to a FTP login
hostPathTextPathname to document
Function resultIntegerError Code

Description

Given a pathname to a file in the format of a HostPath, the FTP_Delete command will delete the specified file from the remote FTP Server. An error will be returned if you do not have sufficient access priveleges to perform this action.

ftp_ID is the long integer reference to the FTP session established with FTP_Login.

hostPath is the text path to the document to be deleted. The value of the hostPath parameter may be a full pathname specification or simple file name. If the shortened form is used then the specified file must be within the CWD.

Note: You can change the CWD using the FTP_ChangeDir command. You can also know the CWD at any time using the FTP_PrintDir command.

See Also

FTP_ChangeDir, FTP_PrintDir, FTP_RemoveDir.


4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next