| 4D v18FTP_PrintDir | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D v18
 FTP_PrintDir 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FTP_PrintDir ( ftp_ID ; directory ) -> Funktionsergebnis | ||||||||
| Parameter | Typ | Beschreibung | ||||||
| ftp_ID | Lange Ganzzahl |   | Reference to a FTP login | |||||
| directory | Text |   | Unix directory pathname | |||||
| Funktionsergebnis | Ganzzahl |   | Error Code | |||||
The FTP_PrintDir command 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).
This example will return the current working directory in the $Cwd variable.
 $err:=FTP_PrintDir(ftp_ID;$Cwd)
	Produkt: 4D
	Thema: IC File Transfer
	Nummer: 
        88889
        
        
        
	
	Erstellt: 4D Internet Commands 6.7
Current Working Directory
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Internet Commands ( 4D v18)
	
	
 Fehler melden
Fehler melden