4D Internet Commands v14FTP_RemoveDir |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Internet Commands v14
FTP_RemoveDir
|
FTP_RemoveDir ( ftp_ID ; directory ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
ftp_ID | Longint |
![]() |
Reference to a FTP login | |||||
directory | Text |
![]() |
Unix directory pathname | |||||
Function result | Integer |
![]() |
Error Code | |||||
Given an acceptable directory name, the FTP_RemoveDir command will delete a Folder directory. An error will be returned if you do not have sufficient access privileges to perform this action. Additionally, attempting to remove a directory which contains items will likely result in a security error.
ftp_ID is the long integer reference to the FTP session established with FTP_Login.
directory is a text value in the format of a HostPath which references an existing FTP directory. The value of the directory parameter may be a full pathname specification or simple folder name. If the shortened form is used then the specified directory 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.
Product: 4D Internet Commands
Theme: IC File Transfer
Number:
88940
Created: 4D Internet Commands 6.5
FTP_ChangeDir
FTP_GetDirList
FTP_MakeDir
FTP_PrintDir
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)