4D Internet Commands v16

FTP_MakeDir

Home

 
4D Internet Commands v16
FTP_MakeDir

FTP_MakeDir 


 

FTP_MakeDir ( ftp_ID ; directory ) -> Function result 
Parameter Type   Description
ftp_ID  Longint in Reference to a FTP login
directory  Text in Unix directory pathname
Function result  Integer in Error Code

Given an acceptable directory name, the FTP_MakeDir command will create a new Folder directory within the Current Working Directory (CWD). An error will be returned if you do not have sufficient access privileges to perform this action.

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 a 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 directory is created within the CWD. It is recommended that the directory name not contain any blank spaces.

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



See also 

FTP_ChangeDir
FTP_GetDirList
FTP_PrintDir
FTP_RemoveDir

 
PROPERTIES 

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

 
HISTORY 

Created: 4D Internet Commands 6.5

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)