wwFtpClient.DeleteDirectory

Deletes a directory from the FTP server.

o.wwFtpClient.DeleteDirectory(lcFtpPath)

Return Value

.T or .F. - check .cErrorMsg for error information.

Parameters

lcFtpPath
The path on the FTP server to delete

  • /
  • /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, 1996-2024 • Updated: 05/26/24
Comment or report problem with topic