FTPDirectoryEntryRaw()

Syntax

Entry$ = FTPDirectoryEntryRaw(#Ftp)
Description
Returns the raw line of the current entry in the FTP enumeration being listed with ExamineFTPDirectory() and NextFTPDirectoryEntry() functions, as it has been sent by the FTP server. It can be useful when the server isn't supported by ExamineFTPDirectory(), so the information about the directory listing can still be retrieved and parsed accordingly.

Parameters

#Ftp The connection to use.

Return value

Returns the entry line as sent by the FTP server.

Example

  InitNetwork()
  
  If OpenFTP(0, "ftp.free.fr", "anonymous", "")
    If ExamineFTPDirectory(0)
      While NextFTPDirectoryEntry(0)
        Debug FTPDirectoryEntryRaw(0)
      Wend
      FinishFTPDirectory(0)
    EndIf
  Else
    Debug "Can't connect to ftp.free.fr"
  EndIf

See Also

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

Supported OS

All

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