MCP ftp request

I don't understand the semantics of the ftp request fully. AstroVR uses this protocol to move remote files into users' directories.

This specification does not specify whether anonymous ftp or authenticated ftp is used.

Keywords

host:

Required. Name of the FTP host containing the document.

directory:

Required. The directory containing the document.

file:

Required. The filename of the document.

type:

Required. File type of the document. Possible values are "ascii", "binary", "fits", "plaintext", "postscript", "compressed", and "tar".

destination:

Required. Directory on the local machine the document is to be placed in.

Example

Upload a file from an anonymous ftp site:


  #$#ftp 12345678 host: ipac.caltech.edu directory: /pub/deposit file: mud.el.Z type: "compressed ascii" destination: clients/mud.el.Z