⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xnsftp.n

📁 早期freebsd实现
💻 N
📖 第 1 页 / 共 2 页
字号:
.TH XNSFTP 1 Cornell.\" $Header: xnsftp.n,v 1.5 87/04/01 13:56:53 ed Exp $.UC 4.SH NAMExnsftp \- file transfer program.SH SYNOPSIS.B ftp[ .B \-v] [.B \-d] [.B \-i] [.B \-g] [.B \-F] [.B "\-c commands"] [.B host].SH DESCRIPTION.I Xnsftpis a user interface to the XNS Courier FilingSubset and Filing protocols.The program allows a user to transfer files to and from aremote network site running FilingSubset (version 1) or Filing (version 4) server software, typically a Xerox file server..PPThe server host with which .I xnsftpis to communicate may be specified on the command line.If this is done,.I xnsftpwill immediately attempt to establish a connection to a Filingserver on that host; otherwise, .I xnsftpwill enter its command interpreter and await instructionsfrom the user.  When .I xnsftpis awaiting commands from the user the prompt \*(lqxnsftp>\*(rqis provided the user.  The following commands are recognizedby.IR xnsftp :.TP.B \&!Invoke a shell on the local machine..TP\fBarchive\fP \fIremote-file\fP [ \fIlocal-file\fP ]Serialize the file named in \fIremote-file\fP into \fIlocal-file\fP on thelocal host. If \fIremote-file\fP is a directory, then the directory and alldescendants will be serialized. The serialized data format will maintainboth contents and attributes for the file and descendants. Useful for \*(lqarchiving\*(rq remote directories..TP\fBappend\fP \fIlocal-file\fP [ \fIremote-file\fP ]Not yet implemented!Append a local file to a file on the remote machine.If.I remote-fileis left unspecified, the local file name is used in naming theremote file.  File transfer uses the current setting.IR type ..TP.B asciiSet the file transfer .I typeto network ASCII.  This type is appropriate fortransferring 7-bit ascii text files.Files stored using this transfer type are given the Filing attributetText..TP.B bellArrange that a bell be sounded after each file transfercommand is completed..TP.B binarySet the file transfer.I typeto support binary image transfer.This is the appropriate type for transferring 8-bit binary data, e.g. InterlispDCOM files or XDE BCD files.Files stored using this transfer type are given the Filing type attributetUnspecified..TP.B byeTerminate the FTP session with the remote serverand exit.IR xnsftp ..TP.BI cd " remote-directory"Change the working directory on the remote machineto .IR remote-directory ..TP.B closeTerminate the FTP session with the remote server, andreturn to the command interpreter..TP\fBcopy\fP [ \fIfrom\fP ] [ \fIto\fP ]Copy the file \fIfrom\fP to the file \fIto\fP on the remote machine. If \fIfrom\fPis a directory, a copy of the directory and its contents will be made. If \fIto\fPspecifies a file, the resulting copy will have that name. If \fIto\fPis a directory, a copy with the same name as the original will be made in the directory specified by \fIto\fP..I Copy will not implicitly create directories; therefore, any directories specifiedin \fIto\fP must already exist.The \fIcopy\fP command is not available when the session is using the FilingSubset protocol..TP.BI delete " remote-file"Delete the file.I remote-fileon the remote machine.If the remote file is a directory a confirmation will be required..TP\fBdebug\fP [ \fIdebug-value\fP ]Toggle debugging mode.  If an optional.I debug-valueis specified it is used to set the debugging level..TP\fBdir\fP [ \fIremote-directory\fP ] [ \fIlocal-file\fP ]Print a listing of the directory contents in thedirectory,.IR remote-directory ,and, optionally, place the output in.IR local-file .If no directory is specified, the current workingdirectory on the remote machine is used.  If no localfile is specified, output comes to the terminal..TP\fBget\fP \fIremote-file\fP [ \fIlocal-file\fP ]Retrieve the .I remote-fileand store it on the local machine.  If the localfile name is not specified, it is given the samename it has on the remote machine.The current setting for .I typeis used while transferring the file..TP.B guessDetermine the type of the file being transferred either by examining thecontents (\fIput\fP) or by querying the remote service (\fIget\fP). Thistype will then be used for determining if a conversion of content shouldoccur during file transfer and also specify the file type to be retained onthe service, during a \fIput\fP. This is the default type and is appropriatefor most file transfers. A file type may be forced to be of a given type byusing one of the.IR ascii ,.I binary or.I typecommands. A \fIput\fP command can currently distinguish between.IR ascii , .IR binary ,.I interpressand .IR vpcanvas (res)file types. [\fINote\fP: the file type used may impose a translationof contents during transfer, see \fIFILE TRANSFER PARAMETERS\fP]..TP\fBhash\fPToggle hash-sign (``#'') printing for each data blocktransferred.  Data blocks vary depending on implementation, butare typically 534 bytes long..TP.B globToggle file name globbing.  With file name globbing enabled,each local file or pathname is processed for .IR csh (1)metacharacters.  These characters include ``*?[]~{}''.Remote files specified in mutliple item commands, e.g..IR mput ,are globbed by the remote server.  With globbing disabledall files and pathnames are treated literally..TP\fBhelp\fP [ \fIcommand\fP ]Print an informative message about the meaning of.IR command .If no argument is given, .I xnsftpprints a list of the known commands..TP\fBlcd\fP [ \fIdirectory\fP ]Change the working directory on the local machine.  Ifno .I directoryis specified, the user's home directory is used..TP\fBls\fP [ \fIremote-directory\fP ] [ \fIlocal-file\fP ]Print an abbreviated listing (containing remote path names) of the contents of adirectory on the remote machine.  If.I remote-directoryis left unspecified, the current working directoryis used.  If no local file is specified, the outputis sent to the terminal..TP\fBmdelete\fP \fIremote-files\fPDelete the specified files on the remote machine.  If globbingis enabled, the specification of remote files will first beexpanded using.IR ls ..TP\fBmdir\fP \fIremote-files\fP \fIlocal-file\fPObtain a directory listing of multiple files on the remotemachine and place the result in.IR local-file ..TP\fBmget\fP \fIremote-files\fPRetrieve the specified files from the remote machine andplace them in the current local directory.  If globbingis enabled, the specification of remote files will first beexpanding using.IR ls .The local file names will be identical with the name attribute ofthe remote file names i.e. with the last component of the remote pathname..TP\fBmkdir\fP \fIdirectory-name\fPMake a directory on the remote machine..TP\fBmls\fP \fIremote-files\fP \fIlocal-file\fPObtain an abbreviated listing of multiple files on the remotemachine and place the result in.IR local-file ..TP\fBmove\fP [ \fIfrom\fP ] [ \fIto\fP ]Move the file \fIfrom\fPto the file \fIto\fP on the remote machine. If \fIfrom\fPis a directory, the directory and its contents will be moved. If \fIto\fPspecifies a file, the file will be renamed during the move. If \fIto\fPis a directory, the resulting file will have the same name as the original..I move will not implicitly create directories; therefore, any directories specifiedin \fIto\fP must already exist.The \fImove\fP command is not available when the session is using the FilingSubset protocol..TP\fBmput\fP \fIlocal-files\fPTransfer multiple local files from the current local directoryto the current working directory on the remote machine..TP\fBopen\fP [\fB-F\fP] \fIhost\fP [ \fIport\fP ]Establish a Courier connection to the specified.I hostFiling server.Note that.I hostmust be the Clearinghouse name of a Filing server, e.g. \*(lqcornellfs1:computer\ science:cornell-univ\*(rq; if the domainand organization components of the name are not specified, they defaultto the local domain and organization.Unless auto-login has been disabled,.I Xnsftpwill also attempt to automatically log the user in tothe Filing server (see \*(lquser\*(rq below). The \fB-F\fP option allows theFiling Protocol to be used instead of the FilingSubset protocol when logging onto the service..TP.B promptToggle interactive prompting.  Interactive promptingoccurs during multiple file transfers to allow theuser to selectively retrieve or store files.  Ifprompting is turned off (default), any.I mgetor.I mputwill transfer all files..TP\fBput\fP \fIlocal-file\fP [ \fIremote-file\fP ]Store a local file on the remote machine.  If .I remote-fileis left unspecified, the local file name is usedin naming the remote file.  File transfer uses thecurrent setting for.IR type ..TP.B pwdPrint the name of the current working directory on the remotemachine..TP.B quitA synonym for bye..TP\fBrename\fP [ \fIfrom\fP ] [ \fIto\fP ]Rename the file \fIfrom\fP on the remote machine, to the file  \fIto\fP.If \fIto\fP includes a directory specification, the action taken willbe identical to the \fImove\fP command. If no directory specification isgiven, then \fIto\fP will be created in the same directory as \fIfrom\fP..I Rename will not implicitly create directories; therefore, any directories specifiedin \fIto\fP must already exist.The \fIrename\fP command is not available when the session is using the FilingSubset protocol..TP\fBrestore\fP \fIlocal-file\fP [ \fIremote-file\fP ]Deserialize the file named in \fIrlocal-file\fP into \fIremote-file\fP on theremote service. If the contents of \fIlocal-file\fP includes a directory,then the directory and alldescendants will be deserialized. The serialized data format will maintainboth contents and attributes for the file and descendants. Used in 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -