Description
Creates a directory on an FTP server.
Syntax
Results = FTPMKDIR(ftpdomain, username, password, parentpath, newchildpath, error)
Parameters
The function has the following parameters:
Parameter | Description |
---|---|
ftpdomain | The domain name of the FTP site. |
user | A valid user of the FTP site |
password | The password of the user |
parentpath | The location of the path in which to create the new directory |
newchildpath | The name of the directory to create |
error | Error status returned by function |
See also
Example
declare function ftpmkdir, msg, utility ftpdomain = 'my.ftp.site.com' user = 'someone' password = 'a valid password' parentpath = 'myFtpFiles' childpath = 'How_To_FTP' results = ftpmkdir(ftpdomain,user,password,parentpath,newchildpath,error) if results then swap char(13):char(10) with '|' in results msg(@window,results) end else if error then x = msg(@window, 'Contents of Error: ':error) end else x = msg(@window, 'File Not Deleted') end end