4D Internet Commands v14

FTP_Delete

Home

 
4D Internet Commands v14
FTP_Delete

FTP_Delete 


 

FTP_Delete ( ftp_ID ; hostPath ) -> Function result 
Parameter Type   Description
ftp_ID  Longint in Reference to a FTP login
hostPath  Text in Pathname to document
Function result  Integer in Error Code

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.

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC File Transfer
Number: 88939

 
HISTORY 

Created: 4D Internet Commands 6.5

 
SEE ALSO 

FTP_ChangeDir
FTP_PrintDir
FTP_RemoveDir

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)