FTPDirectoryEntryRaw()

Syntaxe

Resultat$ = FTPDirectoryEntryRaw(#FTP)
Description
Renvoie la ligne brute de l'élément courant.

Arguments

#FTP La connexion FTP à utiliser.

Valeur de retour

Renvoie la ligne d'entrée comme envoyée par le serveur FTP en cours d'examen avec ExamineFTPDirectory() et NextFTPDirectoryEntry(), comme il a été envoyé par le serveur FTP.

Remarques

Cela peut être utile quand le serveur n'est pas correctement supporté par ExamineFTPDirectory(). Les informations concernant le contenu du répertoire pourront quand même être reçues et analysées manuellement.

Exemple

  If OpenFTP(0, "ftp.free.fr", "anonymous", "")
    If ExamineFTPDirectory(0)
      While NextFTPDirectoryEntry(0)
        Debug FTPDirectoryEntryRaw(0)
      Wend
      ExamineFTPDirectory(0)
    EndIf
  Else
    Debug "Connexion avec ftp.free.fr impossible"
  EndIf

Voir aussi

ExamineFTPDirectory(), NextFTPDirectoryEntry(), FTPDirectoryEntryType(), FTPDirectoryEntryName(), FTPDirectoryEntryDate(), FTPDirectoryEntrySize(), FTPDirectoryEntryAttributes()

OS Supportés

Tous

<- FTPDirectoryEntryName() - Ftp Index - FTPDirectoryEntrySize() ->