4D Internet Commands v16

FTP_Rename

Home

 
4D Internet Commands v16
FTP_Rename

FTP_Rename 


 

FTP_Rename ( ftp_ID ; hostPath ; NeuerName ) -> Funktionsergebnis 
Parameter Typ   Beschreibung
ftp_ID  Lange Ganzzahl in Reference to a FTP login
hostPath  Text in Pathname to document on FTP Server
NeuerName  Text in New document name
Funktionsergebnis  Ganzzahl in Error Code

Given a pathname to a file in the format of a hostPath, the FTP_Rename command will rename the specified file on the remote FTP Server. An error will be returned if you do not have sufficient access priveleges to perform this action.

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

hostPath is the text path to the document to be renamed. The value of the hostPath parameter may be a full pathname specification or simple file name. If the shortened form is used then the specified file must be within the CWD.

newPathName contains the value you wish to rename the remote document.

Note: You can change the CWD using the FTP_ChangeDir command. You can also know the CWD at any time using the FTP_PrintDir command.



Siehe auch 

FTP_ChangeDir
FTP_PrintDir

 
EIGENSCHAFTEN 

Produkt: 4D Internet Commands
Thema: IC File Transfer
Nummer: 88904

 
GESCHICHTE 

Erstellt: 4D Internet Commands 6.5

 
SCHLÜSSELWÖRTER 

CWD

 
ARTIKELVERWENDUNG

4D Internet Commands ( 4D Internet Commands v16)