Table 0.2: ZFTP commands [tab:ZFTPCOM2]
+-Command------+-Function----------------+-Description-----------------------+
+--------------+-------------------------+-----------------------------------+
| OPEN | Open connection | Establish connection to |
| | | specified host |
| CLOSE | Close connection | Close connection with current |
| | | host |
| GETA/PUTA | Text file transfer | Text file transfer, e.g. |
| | | scripts, EXECs, CARD pams etc. |
| GETB/PUTB | Binary file transfer | Binary file transfer (fixed |
| | | length records only) e.g. ZEBRA |
| | | FZ binary exchange format, EPIO, |
| | | CETA files |
| GETD/PUTD | Direct-access file | Direct-access file transfer e.g. |
| | transfer | ZEBRA RZ file between like |
| | | machines. |
| GETRZ/PUTRZ | ZEBRA RZ file transfer | RZ file transfer with automatic |
| | | conversion between different |
| | | data representations, e.g. HBOOK |
| | | histogram or ntuple files, CMZ |
| | | files. |
| GETFZ/PUTFZ | ZEBRA FZ file transfer | FZ file transfer with automatic |
| | | conversion between different |
| | | data representations (currently |
| | | in preparation) |
| GETP/PUTP | Compact binary PAM | Transfer a compact binary PAM |
| | transfer | file (not yet to Cray) |
| | | |
| CD | Change working | Set working directory on remote |
| | directory | node |
| LCD | Change working | Set working directory on local |
| | directory | node |
| LS | Remote LS command | Make remote directory listing |
| LLS | Local LS command | Make local directory listing |
| MPUT | Put multiple files | Send all files matching the |
| | | specified pattern to the remote |
| | | machine. The mode of transfer is |
| | | determined by the file type: |
| | | .CET, .CETA = PUTB, .CMZ = |
+--------------+-------------------------+-PUTRZ,-other-=-PUTA---------------+
Table 0.2: ZFTP commands (continued)
+--------------+-------------------------+-----------------------------------+
+-Command------+-Function----------------+-Description-----------------------+
| MGET | Get multiple files | Retrieve all files matching the |
| | | specified pattern from the |
| | | remote machine. The mode of |
| | | transfer is determined by the |
| | | file type: .CET, .CETA = GETB, |
| | | .CMZ = GETRZ, other = GETA |
| MV | Move (rename) remote | |
| | file | |
| | | |
| PWD | Print remote directory | Display current remote directory |
| LPWD | Print local directory | Display current local directory |
| RM | Remove remote file | Remote file deletion |
| LRM | Remove local file | Local file deletion |
| RSH | Remote shell | Issue command to the remote |
| | | shell |
| VERSION | Version of ZFTP | Print version of the ZFTP |
| | | program |
| SVERSION | Version of server | Print version of the remote |
| | | server (if connected) |
+--------------+-------------------------+-----------------------------------+
Table 0.3: CSPACK routine calling sequences
+-------------------------------------------------------------------------##
+-------------------------------CZ-routines-------------------------------##
| Description ##
| CALLING SEQUENCE Page ##
+-Open-communication-with-a-remote-node-----------------------------------##
| ##
| CZOPEN [more info] ##
| Close communication with the current remote node ##
| CZCLOS [more info] ##
| Swith communication to another node ##
| CZSWAP [more info] ##
| Return real time elapsed since last call ##
| CZRTIM [more info] ##
| Send text string to current remote node ##
| CZPUTA [more info] ##
| ##
| Read text string from remote server ##
+---CZGETA----------------------------------------------##
Table 0.3: CSPACK routines (continued)
+-------------------------------------------------------------------------##
| Description ##
| CALLING SEQUENCE Page ##
+-Send-character-array-to-remote-server-process---------------------------##
| ##
| CZPUTC [more info] ##
| Get character array from remote server process ##
| CZGETC [more info] ##
| Transfer data between client and server ##
+---CZTCP------------------------------------------------##
+-------------------------------XZ-routines-------------------------------##
| Description ##
| CALLING SEQUENCE Page ##
+-Send-text-file----------------------------------------------------------##
| ##
| XZPUTA [more info] ##
| Get text file ##
| XZGETA [more info] ##
| Send binary file ##
| XZPUTB [more info] ##
| Get binary file: fixed length records ##
| XZGETB [more info] ##
| Send binary file ##
| XZPUTB [more info] ##
| ##
| Get D/A file ##
| XZGETD [more info] ##
| Send D/A file ##
| XZPUTD [more info] ##
| Get binary PAM file ##
| XZGETP [more info] ##
| Send Zebra FZ file ##
| XZPUTF [more info] ##
| ##
| Get FZ file ##
| XZGETF [more info] ##
| Send Zebra RZ file ##
| XZPUTR [more info] ##
| Get RZ file ##
| XZGETR [more info] ##
| Send PAM file ##
| XZPUTP [more info] ##
| Get PAM file ##
| ##
+---XZGETP----------------------------------------------##
Table 0.3: CSPACK routines (continued)
+-------------------------------------------------------------------------##
| Description ##
| CALLING SEQUENCE Page ##
+-Open-remote-file--------------------------------------------------------##
| ##
| XZOPEN [more info] ##
| Close remote file ##
| XZCLOS [more info] ##
| Read record from remote file ##
| XZREAD [more info] ##
| Write record to remote file ##
| XZRITE [more info] ##
| Rewind remote file ##
| XZREWD [more info] ##
| ##
| Inquire if remote file exists ##
| XZINQR [more info] ##
| Initialise XZ package ##
| XZINIT [more info] ##
| Set log levelXZ package ##
| XZLOGL [more info] ##
| Change remote directory ##
| XZCD [more info] ##
| Get current remote directory ##
| ##
| XZPWD [more info] ##
| Issue remote LS command ##
| XZLS [more info] ##
| Remove remote file ##
| XZRM [more info] ##
| Change local directory ##
| XZLCD [more info] |
| Get current local directory ##
| ##
| XZLPWD [more info] ##
| Issue local LS command ##
| XZLLS [more info] ##
| Remove local file ##
+---XZRM--------------------------------------------------+