Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LInetFtp::DeleteDir
#include "ltwrappr.h"
L_INT LInetFtp::DeleteDir(pszDirectory)
L_TCHAR *pszDirectory; |
/* name of the directory to remove */ |
Removes the specified directory on the FTP server.
Parameter |
Description |
pszDirectory |
Character string that contains the name of the directory to remove on the FTP server. This can be either a fully qualified path or a name relative to the current directory. This is a NULL-terminated string. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Deletes the specified directory from the FTP server.
If the directory specified in pszDirectory does not exist on the FTP server, this function will fail.
Required DLLs and Libraries
LTFIL For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Functions: |
LInetFtp::CreateDir, LInetFtp::GetCurrentDir, LInetFtp::BrowseDir, LInetFtp::ChangeDir, Class Members |
Topics: |
|
|
Example
For an example, refer to LInetFtp::LInetFtp.