MOUNT_FTP(8) | System Manager's Manual | MOUNT_FTP(8) |
mount_ftp
— mount
a FTP filesystem
mount_ftp |
[-i ] [-o
options]
ftp://host[:port][/path]
node |
The mount_ftp
command mounts a FTP-enabled
server directory at ftp://host[:port][/path] at the
mount point indicated by node.
If the -i option is not used, all the required information to establish a login to the remote server must be available in the ftp URL, including username & password if needed.
The user ID for all files and folders is set to the user's real user ID. The group ID for all files and directories is set to unknown, and the permissions default to read and execute for user, group and other.
The options are:
-i
-o
-o
option followed by a comma separated string of
options. See the mount(8) man page for possible options
and their meanings. The rdonly option will be set even if it was not
specified because mount_ftp does not allow files to be opened with write
access on servers.The following example illustrates how to mount the FTP-enabled server directory ftp.apple.com/ at the mount point /Volumes/mntpnt/
mount_ftp ftp://ftp.apple.com/ /Volumes/mntpnt/
The mount_ftp
command first appeared Mac
OS X Version 10.2.
mount_ftp
successfully mounted the server
directory.ENOENT
]mount_ftp
because the node path is invalid.ENODEV
]mount_ftp
because it is not FTP-enabled or because
it does not exist, or because node does not have proper access.ECANCELED
]mount_ftp
because the user did not provide proper
authentication credentials.mount_ftp
only supports mounting
read-only.
June 6, 2003 | Mac OS X |