Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ncp(1)			    General Commands Manual			ncp(1)

NAME
       ncp - copy files	over TCP

SYNOPSIS
       ncp host	files...

       ncp

DESCRIPTION
       ncp  is	used to	copy files over	a network.  It will open a TCP connec-
       tion to the host	given as argument 1 and	then call tar to actually copy
       the files.  Calling ncp without arguments will invoke server mode, that
       is, it will sit there and wait for a connection from another ncp.

       ncp will	tell tar to preserve file ownership and	permissions,  and  tar
       will automatically copy directory trees recursively.

       ncp will	use IPv6 if available.

       ncp uses	TCP port 8002 for its connections.

BUGS
       ncp will	call tar only after it has opened the connection.  If you for-
       got to specify any files	or tried to send nonexistant files,  tar  will
       spew out	error messages.	 The peer will see no error messages!

       Not much	error detection, error recovery	or even	decent error messages.

SEE ALSO
       npush(1), npoll(1)

AUTHOR
       Felix 'Fefe' von	Leitner	<felix@fefe.de>

				  August 2000				ncp(1)

NAME | SYNOPSIS | DESCRIPTION | BUGS | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ncp&sektion=1&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help