LInetFtp::CreateDir

#include "ltwrappr.h"

L_INT LInetFtp::CreateDir(pszDirectory)

L_TCHAR L_FAR *pszDirectory;

/* name of the directory to create */

Creates a new directory on the FTP server.

Parameter

Description

pszDirectory

Character string that contains the name of the directory to create 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

A new directory will be created on the FTP server.

If the directory specified in pszDirectory already exists on the FTP server, this function will fail.

Required DLLs and Libraries

LTFIL
LTWEB

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::DeleteDir, LInetFtp::GetCurrentDir, LInetFtp::BrowseDir, LInetFtp::ChangeDir, Class Members

Topics:

FTP Functions: Remote Directory Operations

 

How to Program with the LInetFtp Class

Example

For an example, refer to LInetFtp::LInetFtp.