FTP_PrintDir

4D - Documentation   Français   English   German   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next

version 6.7


FTP_PrintDir (ftp_ID; directory) Integer

ParameterTypeDescription
ftp_IDLongintReference to a FTP login
directoryTextUnix directory pathname
Function resultIntegerError Code

Description

The command FTP_PrintDir returns your current working directory (CWD) in the directory parameter.

The command FTP_GetDirList will also return the current working directory. However, executing the FTP_PrintDir command is faster and needs less parameters.

ftp_ID is the long integer reference to the FTP session established with FTP_Login.

The directory parameter returns the current working directory (CWD).

Example

This example will return the current working directory in the $Cwd variable.

   $err:=FTP_PrintDir(ftp_ID;$Cwd) 

See Also

FTP_GetDirList.


4D - Documentation   Français   English   German   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next