FTPDirectoryEntryRaw()

语法

Entry$ = FTPDirectoryEntryRaw(#Ftp)
概要
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.

参数

#Ftp The connection to use.

返回值

Returns the entry line as sent by the FTP server.

示例

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

参阅

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

已支持操作系统

所有

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