Home
Accueil
Downloads
Téléchargements
Forums
Forums
Your Account
Votre compte
Menu
· Accueil ·

· Communication ·
  · Forums
  · Messages privés
  · Contactez nous
  · Recommendez nous
  · Sondages
  · Les projets

· Nouvelles ·Stats
  · Sujets
  · Ecrire un article
  · Articles archivés
  · Articles RSS
  · Lettre de sécurité
  · Archive de lettres

· Téléchargements ·
  · Accueil
  · Nouveautés
  · Mises à jour
  · Thêmes

· Outils ·
  · Outils divers
  · Convertisseur de temps
  · Table de caractères
  · Générateur de boutons
  · Compresseur Javascript

· Documentation ·
  · Wiki
  · Questions/Réponses
  · Documents
  · Manuel PHP-Nuke
  · Manuel PHP
  · Manuel PEAR
  · Encyclopédies

· Liens ·
  · Nos liens
  · Nos fluxs RSS
  · Partenaires
  · Votre publicité
  · Sitemap
  · Mes bannières

· Infos ·
  · Rechercher
  · Votre compte
  · Liste des membres
  · Carte des membres
  · Top

· Divers ·
  · Météo
  · Galeries
  · Statistiques Phpnuke
  · MS Analysis


Net_FTP

Net_FTP

Table des matières
Constantes -- constantes prédéfinies
Net_FTP::Net_FTP() -- constructor
Net_FTP::connect() -- connects to a given FTP server
Net_FTP::disconnect() -- disconnects from the FTP server
Net_FTP::login() -- logs into the FTP server you are connected to
Net_FTP::cd() -- changes the directory on the server.
Net_FTP::pwd() -- returns the directory on the server you are currently in.
Net_FTP::mkdir() -- creates a new directory.
Net_FTP::execute() -- executes a command on the server.
Net_FTP::mdtm() -- returns the last modification date of a file.
Net_FTP::size() -- returns the size in bytes of a file.
Net_FTP::ls() -- returns the listing of a directory in a specified way.
Net_FTP::rm() -- deletes a file or directory.
Net_FTP::get() -- download a file to the computer your script runs on.
Net_FTP::put() -- upload a file to the FTP server.
Net_FTP::getRecursive() -- download a whole directory to the computer your script runs on.
Net_FTP::putRecursive() -- upload a whole directory to the FTP server.
Net_FTP::checkFileExtension() -- check extensions.ini for the transfermode of a specific file.

Net_FTP fournit une communication plus comfortable avec les serveurs FTP. Il fournit principalement un wrapper OO des fonctions FTP intégrées à PHP, ajoutant quelques fonctionnalités manquantes comme les téléchargements/envois récursifs de dossiers complets, ainsi que leur suppression. Les possibilités de la liste des dossiers sont également étendus pour gérer de façon bien structurée la liste des fichiers et/ou dossiers.

Net_FTP works fine for it's functionality, which will be extended by features like recursive filepermission change (over SITE command), different ways of dirlistings, Windows support and more. Another idea is to implement a fallback for the PHP functions using sockets.


Manuel PEAR pour PHP-Nuke © www.stefvar.com
Syndiquez notre contenu RSS, Atom, etc..
PHP-Nuke © 2007Reproduction interdite sans autorisation de ma part www.stefvar.com Copyright © 2008Thème iCGstation
Site français de la communauté PragmaMx