ncftpls man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

ncftpls(1)							    ncftpls(1)

       ncftpls - Internet file transfer program for scripts

       ncftpls [options]

   Command line flags:
       -1      Most basic format, one item per line.

       -l      Long list format.

       -x -XX  Additional ls flags to pass on to the server.

       -u XX   Use username XX instead of anonymous.

       -p XX   Use password XX with the username.

       -P XX   Use  port  number  XX  instead  of the default FTP service port

       -d XX   Use the file XX for debug logging.

       -t XX   Timeout after XX seconds.

       -E      Use regular (PORT) data connections.

       -F      Use passive (PASV) data connections.  The  default  is  to  use
	       passive,	 but  to fallback to regular if the passive connection
	       fails or times out.

       -r XX   Redial a maximum of XX times until connected to the remote  FTP

       The  purpose  of	 ncftpls  is to do remote directory listings using the
       File Transfer Protocol without entering	an  interactive	 shell.	  This
       lets  you write shell scripts or other unattended processes that can do

       The default behavior is to print the directory  listing	in  columnized
       format  (i.e. ls -CF), but that is not very useful for scripting.  This
       example uses the -1 flag, to print one file per line:

	   $ ncftpls -1

       You can also do a remote "ls -l", by using "ncftpls -l".	 If  you  want
       to  try	other flags, you have to use them with the -x flag.  For exam‐
       ple, if you wanted to do a remote "ls -lrt", you could do this:

	   $ ncftpls -x "-lrt"

       By default the program tries to open the remote host and	 login	anony‐
       mously,	but  you  can specify a username and password information like
       you can with ncftpget or ncftpput.

       ncftpls returns the following exit values:

       0       Success.

       1       Could not connect to remote host.

       2       Could not connect to remote host - timed out.

       3       Transfer failed.

       4       Transfer failed - timed out.

       5       Directory change failed.

       6       Directory change failed - timed out.

       7       Malformed URL.

       8       Usage error.

       9       Error in login configuration file.

       10      Library initialization failed.

       11      Session initialization failed.

       Mike Gleason, NcFTP Software (

       ncftpput(1), ncftpget(1), ncftp(1), ftp(1), rcp(1), tftp(1).

       LibNcFTP (

Software			     NcFTP			    ncftpls(1)

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net