list-only.d 1.0 KB

123456789101112131415161718192021222324252627
  1. Long: list-only
  2. Short: l
  3. Protocols: FTP POP3
  4. Help: List only mode
  5. Added: 4.0
  6. Category: ftp pop3
  7. Example: --list-only ftp://example.com/dir/
  8. See-also: quote request
  9. ---
  10. (FTP)
  11. When listing an FTP directory, this switch forces a name-only view. This is
  12. especially useful if the user wants to machine-parse the contents of an FTP
  13. directory since the normal directory view does not use a standard look or
  14. format. When used like this, the option causes an NLST command to be sent to
  15. the server instead of LIST.
  16. Note: Some FTP servers list only files in their response to NLST; they do not
  17. include sub-directories and symbolic links.
  18. (POP3)
  19. When retrieving a specific email from POP3, this switch forces a LIST command
  20. to be performed instead of RETR. This is particularly useful if the user wants
  21. to see if a specific message-id exists on the server and what size it is.
  22. Note: When combined with --request, this option can be used to send a UIDL
  23. command instead, so the user may use the email's unique identifier rather than
  24. its message-id to make the request.