Using the nsftp Module
There are several ways that users can run FTP from your virtual server. Note that the permissions defined for the nsperm module determine the access that various users will have when using FTP. A user will be placed in their home directory (as specified in the Add User or Update User permissions pages under /NS/Admin) when they log into FTP. If the user does not have a home directory, they will be placed in the PageRoot directory. Anonymous logins will be placed in the directory specified by the FtpAnonRootDir parameter.
Once in FTP, most FTP commands are supported, including: ls, get, put, mget, mput, site, md, rd, cd, rename, del, type, syst, and quit.
- From Telnet:
ftp hostname ftp-port
- Specify the hostname for the nsftp module as determined by the FtpHostname configuration parameter. Specify the ftp-port as determined by the FtpPort parameter.
- For example:
ftp henry.yourserver.com 8111
- Within ftp:
open your-hostname ftp-port
- Specify the hostname for the nsftp module as determined by the FtpHostname configuration parameter. Specify the ftp-port as determined by the FtpPort parameter.
- For example:
open henry.yourserver.com 8111
- From a Web browser:
ftp://your-hostname:ftp-port
- Users can download files anonymously from your website via ftp only if anonymous logins are enabled with the FtpAllowAnonymous configuration parameter. Specify the hostname for the nsftp module as determined by the FtpHostname configuration parameter. Specify the ftp-port as determined by the FtpPort parameter.
- For example:
ftp://henry.yourserver.com:8111