This command copies a file from a remote NetWare server the local disk. This utility does not support wildcards.
TNHOME/usr/bin
ncget -s servername -u username {-p password|-P} [-C charset] [-v] volume:[/]path [localfile]
servername |
Specify the name of the remote server. |
-u username |
Specify the name of the user for the remote server. |
-p password |
Specify username's password on the command line. No subsequent password prompt appears. |
-P |
Prompt for username's password. The password does not display as you type it. This option proves especially if you want to include the command but not the password in a batch file. |
-C charset |
Specify the client character set. If not specified, the character set defaults to builtin-codepage-437. Valid character sets include: builtin-mac-roman builtin-iso-latin-1 builtin-unicode You can use additional character sets if you install TAS. |
-v volume |
Specify the name of the volume on which the remote file resides. |
/path |
Specify the path to the remote file. Do not use wildcards. |
localfile |
Specify the path and name for the local copy of the file. Enter a period (.) to use the current directory and the same file name as on the remote host. Enter a hyphen (-) to copy the file to "standard output". |
Use one of the following commands to copy the file pure.doc from the directory subdir on the volume public of the server library to the local file impure.doc, as the remote user tanya:
ncget -s library -u tanya -P -v public:subdir/pure.doc impure.doc ncget -s library -u tanya -P -v public:/subdir/pure.doc impure.doc |
Use the following command to copy the file village/well.doc from the server valhalla to the NetWare volume sys, as user eric with password viking:
ncget -s valhalla -u eric -p viking -v sys:village/well.doc |