使用sftp從獲取 linux 下的文件到windows
sftp> help
Available commands:
ascii Set transfer mode to ASCII
binary Set transfer mode to binary
cd path Change remote directory to 'path'
lcd path Change local directory to 'path'
detail remote-path Display system information about remote
file or folder
ldetail local-path Display system information about local
file or folder
chgrp group path Change group of file 'path' to 'group'
chmod mode path Change permissions of file 'path' to 'mode'
chown owner path Change owner of file 'path' to 'owner'
exit Quit sftp
help Display this help text
include filename Include commands from 'filename'
Alternate: < filename
get [-a | -b] remote-path Download file
force ascii (-a) or binary (-b) mode
ln [-s] existingpath linkpath Hardlink / symlink remote file
ls [options] [path] Display remote directory listing
lls [options] [path] Display local directory listing
mkdir path Create remote directory
lmkdir path Create local directory
mv oldpath newpath Move remote file
lmv oldpath newpath Move local file
open [user@]host[:port] Connect to remote host
put [-a | -b] local-path Upload file
force ascii (-a) or binary (-b) mode
pwd Display remote working directory
lpwd Print local working directory
quit Quit sftp
rename oldname newname Rename remote file
lrename oldname newname Rename local file
rmdir path Remove remote directory
lrmdir path Remove local directory
rm path Delete remote file
lrm path Delete local file
su username Substitutes the current user
This is only supported with VShell for
Windows 3.5 or later.
type [transfer-mode] Display or set file transfer mode
view remote-path Download and open file
version Display protocol version
sftp> ls
anaconda-ks.cfg install.log install.log.syslog
oradiag_root proc_mon_del.prc
sftp> lls
desktop.ini FFOutput login.sql
My Music My Pictures My Videos
My WangWang Tencent Files 酷6影片
sftp> lcd d:\
sftp> lls
$RECYCLE.BIN 10704events.txt big_table.sql
bin bin.rar bt.sql
bt.txt chunk_shared_pool.txt DFVKR-PC
Downloads dump emppar.txt
events10704.txt expimptest.txt find_mem_usage.txt
full_database.log full_db.log gettrace.sql
hash_join.txt hj.txt hj2.txt
imp_yang.log lib MediaID.bin
mem.txt memory_dynamic_components.txt
oracle outline.txt PLSQLDev7.0[1].pdf
prameter.sql Program Files scott.sql
software System Volume Information
transferingOptimizerStatistics.txt yang.log
yangtab.txt ZZZZ 線上重建索引
實踐spool 檔案 新建文字文件.txt
sftp> get /u01/app/oracle/diag/rdbms/rac/rac1/trace/rac1_ora_11801.trc
Downloading rac1_ora_11801.trc from /u01/app/oracle/diag/rdbms/rac/rac1/trace/rac1_ora_11801.trc
100% 335213KB 11559KB/s 00:00:29
/u01/app/oracle/diag/rdbms/rac/rac1/trace/rac1_ora_11801.trc: 343258473 bytes transferred in 29 seconds (11559 KB/s)
sftp> lls
$RECYCLE.BIN 10704events.txt big_table.sql
bin bin.rar bt.sql
bt.txt chunk_shared_pool.txt DFVKR-PC
Downloads dump emppar.txt
events10704.txt expimptest.txt find_mem_usage.txt
full_database.log full_db.log gettrace.sql
hash_join.txt hj.txt hj2.txt
imp_yang.log lib MediaID.bin
mem.txt memory_dynamic_components.txt
oracle outline.txt PLSQLDev7.0[1].pdf
prameter.sql Program Files rac1_ora_11801.trc
scott.sql software System Volume Information
transferingOptimizerStatistics.txt yang.log
yangtab.txt ZZZZ 線上重建索引
實踐spool 檔案 新建文字文件.txt
sftp>
Available commands:
ascii Set transfer mode to ASCII
binary Set transfer mode to binary
cd path Change remote directory to 'path'
lcd path Change local directory to 'path'
detail remote-path Display system information about remote
file or folder
ldetail local-path Display system information about local
file or folder
chgrp group path Change group of file 'path' to 'group'
chmod mode path Change permissions of file 'path' to 'mode'
chown owner path Change owner of file 'path' to 'owner'
exit Quit sftp
help Display this help text
include filename Include commands from 'filename'
Alternate: < filename
get [-a | -b] remote-path Download file
force ascii (-a) or binary (-b) mode
ln [-s] existingpath linkpath Hardlink / symlink remote file
ls [options] [path] Display remote directory listing
lls [options] [path] Display local directory listing
mkdir path Create remote directory
lmkdir path Create local directory
mv oldpath newpath Move remote file
lmv oldpath newpath Move local file
open [user@]host[:port] Connect to remote host
put [-a | -b] local-path Upload file
force ascii (-a) or binary (-b) mode
pwd Display remote working directory
lpwd Print local working directory
quit Quit sftp
rename oldname newname Rename remote file
lrename oldname newname Rename local file
rmdir path Remove remote directory
lrmdir path Remove local directory
rm path Delete remote file
lrm path Delete local file
su username Substitutes the current user
This is only supported with VShell for
Windows 3.5 or later.
type [transfer-mode] Display or set file transfer mode
view remote-path Download and open file
version Display protocol version
sftp> ls
anaconda-ks.cfg install.log install.log.syslog
oradiag_root proc_mon_del.prc
sftp> lls
desktop.ini FFOutput login.sql
My Music My Pictures My Videos
My WangWang Tencent Files 酷6影片
sftp> lcd d:\
sftp> lls
$RECYCLE.BIN 10704events.txt big_table.sql
bin bin.rar bt.sql
bt.txt chunk_shared_pool.txt DFVKR-PC
Downloads dump emppar.txt
events10704.txt expimptest.txt find_mem_usage.txt
full_database.log full_db.log gettrace.sql
hash_join.txt hj.txt hj2.txt
imp_yang.log lib MediaID.bin
mem.txt memory_dynamic_components.txt
oracle outline.txt PLSQLDev7.0[1].pdf
prameter.sql Program Files scott.sql
software System Volume Information
transferingOptimizerStatistics.txt yang.log
yangtab.txt ZZZZ 線上重建索引
實踐spool 檔案 新建文字文件.txt
sftp> get /u01/app/oracle/diag/rdbms/rac/rac1/trace/rac1_ora_11801.trc
Downloading rac1_ora_11801.trc from /u01/app/oracle/diag/rdbms/rac/rac1/trace/rac1_ora_11801.trc
100% 335213KB 11559KB/s 00:00:29
/u01/app/oracle/diag/rdbms/rac/rac1/trace/rac1_ora_11801.trc: 343258473 bytes transferred in 29 seconds (11559 KB/s)
sftp> lls
$RECYCLE.BIN 10704events.txt big_table.sql
bin bin.rar bt.sql
bt.txt chunk_shared_pool.txt DFVKR-PC
Downloads dump emppar.txt
events10704.txt expimptest.txt find_mem_usage.txt
full_database.log full_db.log gettrace.sql
hash_join.txt hj.txt hj2.txt
imp_yang.log lib MediaID.bin
mem.txt memory_dynamic_components.txt
oracle outline.txt PLSQLDev7.0[1].pdf
prameter.sql Program Files rac1_ora_11801.trc
scott.sql software System Volume Information
transferingOptimizerStatistics.txt yang.log
yangtab.txt ZZZZ 線上重建索引
實踐spool 檔案 新建文字文件.txt
sftp>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-687660/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- linux及windows下使用Python獲取IP地址LinuxWindowsPython
- Linux中SFTP無法獲取目錄如何解決?LinuxFTP
- 從Windows到LinuxWindowsLinux
- 使用API介面獲取商品資料:從入門到實踐API
- JS 獲取文件元素JS
- linux下FTP、SFTP命令詳解LinuxFTP
- Linux時間的獲取與使用Linux
- windows以及linux獲取系統時間WindowsLinux
- ftpget 從Windows FTP服務端獲取檔案FTPWindows服務端
- python使用wmi模組獲取windows下的系統資訊 監控系統PythonWindows
- 從linux接入到windows遠端桌面LinuxWindows
- MacOS下shh,sftp,scp簡單使用MacFTP
- LINUX下 Python獲取xlsx格式的檔案內容轉到txt 小文字LinuxPython
- 傳輸表空間(從Linux到Windows)LinuxWindows
- Socket相關程式:從Windows移植到LinuxWindowsLinux
- 獲取Word文件的作者和主題
- 從Linux核心中獲取真隨機數Linux隨機
- linux配置sftpLinuxFTP
- 為爬蟲獲取登入cookies: 使用browsercookie從瀏覽器獲取cookies爬蟲Cookie瀏覽器
- dact-admin:獲取資料生成、下載word/pdf文件
- windows下讀取Linux分割槽軟體WindowsLinux
- 如何從 Windows 上用 SSH 連線到 LinuxWindowsLinux
- 利用RMAN把ORACLE從WINDOWS轉換到LINUXOracleWindowsLinux
- windows C++ 獲取使用者桌面路徑WindowsC++
- windows 下oracle從10.2.0.1升級到10.2.0.4WindowsOracle
- 實用Linux下獲取公網IP地址Linux
- Linux下用Java獲取本機IP地址LinuxJava
- xshell 使用 sftp上傳下載檔案FTP
- 使用 Python 獲取 Linux 系統資訊PythonLinux
- 轉:使用基本認證從WebServer獲取資料WebServer
- 使用getopt_long()從命令列獲取引數命令列
- 使用SecureCRT的SFTP將檔案上傳到Liunx系統上SecurecrtFTP
- python 從mongodb中獲取資料載入到pandas中PythonMongoDB
- 從網路裡面獲取資料寫入到檔案
- 如何使用echart中獲取canvas繪製到自己的canvas上去Canvas
- 如獲取獲取關聯資料的文件跟模型的關聯資料集呢模型
- VC++獲取不同Windows版本的方法C++Windows
- 獲取 Windows Phone 的 User-Agent 字串Windows字串