重庆思庄Oracle、Redhat认证学习论坛
标题:
使用SecureCRT的sftp上传文件时有特殊符号,怎么处理
[打印本页]
作者:
jiawang
时间:
2021-1-19 17:33
标题:
使用SecureCRT的sftp上传文件时有特殊符号,怎么处理
例子:
sftp> cd /setup
sftp> lcd C:\Users\Administrator\Desktop\
windos 11.2.0.4G 64bit
Invalid command.
原因是我本地目录的路径下有特殊符号
需要转义一下,直接按TAB键转义
sftp> lcd "C:/Users/Administrator/Desktop/windos 11.2.0.4G 64bit/"
sftp> put p1
p13390677_112040_Linux-x86-64_1of7.zip p13390677_112040_Linux-x86-64_2of7.zip
sftp> put p13390677_112040_Linux-x86-64_*
Uploading p13390677_112040_Linux-x86-64_1of7.zip to /setup/p13390677_112040_Linux-x86-64_1of7.zip
100% 1362873KB 56786KB/s 00:00:24
C:/Users/Administrator/Desktop/windos 11.2.0.4G 64bit/p13390677_112040_Linux-x86-64_1of7.zip: 1395582860 bytes transferred in 24 seconds (56786 KB/s)
Uploading p13390677_112040_Linux-x86-64_2of7.zip to /setup/p13390677_112040_Linux-x86-64_2of7.zip
100% 1124320KB 53539KB/s 00:00:21
C:/Users/Administrator/Desktop/windos 11.2.0.4G 64bit/p13390677_112040_Linux-x86-64_2of7.zip: 1151304589 bytes transferred in 21 seconds (53539 KB/s)
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/)
Powered by Discuz! X3.2