208
•
SSH and SFTP Client Reference
HP NonStop SSH Reference Manual
drwxr-xr-x 0 513 100 80 Feb 27 2004 public_html
drwxr-x--- 0 513 100 48 Feb 27 2004 pubs
drwxr-xr-x 0 513 100 48 Feb 9 20:45 put
-rw-r--r-- 0 513 100 1011018 Feb 9 20:40 putfiles
sftp>
Change to directory "put", list the files there (note that the directory is empty):
sftp> cd put
sftp> ls -l
drwxr-xr-x 0 513 100 72 Feb 14 07:31 .
drwxr-xr-x 0 513 100 1200 Feb 11 15:10 ..
sftp>
Show local working directory:
sftp> lpwd
Local working directory: /home/tb
sftp>
Verify the remote working directory:
sftp> pwd
Remote working directory: /home/burgt/put
sftp>
Transfer local file "a10000" to remote system:
sftp> put a10000
Uploading a10000 to /home/burgt/put/a10000
a10000
100% 9900 0.0KB/s 00:00
sftp>
List files on remote system (note the new file a10000):
sftp> ls -l
drwxr-xr-x 0 513 100 72 Feb 14 07:31 .
drwxr-xr-x 0 513 100 1200 Feb 11 15:10 ..
-rw-r--r-- 0 513 100 9900 Feb 14 07:31 a10000
sftp>
Leave the SFTP client:
sftp> bye
/home/tb:
Transfer Progress Meter
SFTP/SFTPOSS client displays a progress indicator during file transfers if enabled. The progress meter can be enabled
via command "progress on" and disabled via command "progress off". Entering the command progress without option
will switch between the states "progress enabled" and "progress disabled".
If progress is disabled, the only line displayed for a download is "Fetching <remote-file> to <local-file>" and for an
upload the line "Uploading <local-file> to <remote-file>" is shown.
In addition to option values on and off there is a third option "min" supported, which reduces the progress output to the
last line: "<count> bytes transferred in <time> seconds (<rate>MB/s)".
Command "progress ?" will display the current setting (on, off, or min).
Controlling Transfer Summary
Summary information about each file transfer gets generated, e.g.:
Summary of Contents for NonStop SSH 544701-014
Page 12: ...xii Contents HP NonStop SSH Reference Manual ...
Page 24: ...24 Preface HP NonStop SSH Reference Manual ...
Page 30: ...30 Introduction HP NonStop SSH Reference Manual ...
Page 46: ...46 Installation Quick Start HP NonStop SSH Reference Manual ...
Page 132: ...132 The SSH User Database HP NonStop SSH Reference Manual ...
Page 214: ...214 SSH and SFTP Client Reference HP NonStop SSH Reference Manual ...
Page 278: ...278 STN Reference HP NonStop SSH Reference Manual ...
Page 298: ...298 Monitoring and Auditing HP NonStop SSH Reference Manual ...
Page 302: ...302 Performance Considerations HP NonStop SSH Reference Manual ...