Creates a new directory on the server.
o.CreateDirectory(lcPath)
Return Value
.T or .F. - check .cErrorMsg
for error information.
Parameters
lcPath
The Path on the server to create.
- /
- /SubFolder
- /SubFolder/SubFolder1
Example
oFtp.CreateDirectory("/tempUpload")
oFtp.UploadFile(".\testfile.pdf","/tempUpload/testfile.pdf")
oFtp.DeleteFile("/tempUpload/testfile.pdf")
oFtp.DeleteDirectory("/tempUpload")
See also:
Class wwSftpClient© West Wind Technologies, 2024 • Updated: 05/26/24
Comment or report problem with topic