Net_FTP::login() (Previous) (Next) Net_FTP::pwd()

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

Net_FTP::cd()

Net_FTP::cd() -- changes le répertoire sur le serveur.

Description

Change le répertoire sur le serveur FTP où vous êtes connecté. Le paramètre peut-être un chemin absolu (p.e. '/home/monRep') ou un chemin relatif (p.e. 'monRep').

Paramètres

  • string $directory - Le répertoire où vous désirez aller. Ca peut-être un chemin absolu (p.e. '/home/monRep') ou un chemin relatif (p.e. 'monRep').

Valeur retournée

mixed - true on success, otherwise PEAR::Error.

Valeurs renvoyées

L'objet PEAR_Error retourné dans le cas d'une erreur n'est pasobject spécifique. Vous pouvez ignorer le numéro et le message parce que seul "Directory change failed" sera retourné en cas d'echec.

Note

Cette fonction ne peut pas être appelée de façon statique.

Net_FTP::login() (Previous) (Next) Net_FTP::pwd()

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.