L_InetFtpChangeDir
#include "ltweb.h"
L_INT EXT_FUNCTION L_InetFtpChangeDir(hFtp, pszDirectory)
HFTP hFtp; |
/* handle to an FTP connection */ |
/* name of the directory */ |
Changes the working directory on the FTP server.
Parameter |
Description |
hFtp |
Valid HFTP handle to an FTP connection. |
pszDirectory |
Character string that contains the name of the directory to change to on the remote system. 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
Changes to a different working directory on the FTP server.
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: |
L_InetFtpCreateDir, L_InetFtpDeleteDir, L_InetFtpGetCurrentDir |
Topics: |
FTP Functions: Directory Manipulation Over an FTP Connection |
|
Example
For an example, refer to L_InetFtpConnect Example