FTP之quote命令的使用

FTP之quote命令的使用

FTP的quote命令用于将参数逐字发至远程ftp服务器,命令格式为:
quote arg1,arg2...

1、quote help
查看quote支持的命令

2、? quote
显示命令使用方法


1、quote feat
获取ftp属性

2、quote lang
获取ftp支持的语言和字符集,不是所有的ftp都支持


3、quote opts utf8 on
设置ftp server字符集编码为utf-8(windows下的ftp字符集默认为编码GBK,一般的GB2312只能显示简体中文)
发送此命令之后客户端可能会重新连接,并且此命令只在此次回话有效



4、quote opts utf8 off
关闭ftp的uft8字符集支持


5、quote TYPE A
设置ftp传输方式为ASCII


6、quote TYPE I
设置ftp传输方式为BINARY二进制


7、quote mdtm filename
获取文件的修改时间

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在Linux中,您可以使用“status”命令来显示当前FTP客户端的端口号。在FTP会话中,输入“status”命令,然后按Enter键。这将显示当前FTP客户端的连接状态,包括本地IP地址、远程IP地址和端口号。在“status”命令的输出中,您可以查找“Local”行来查看FTP客户端的端口号。例如: ``` ftp> status Connected to ftp.example.com. 220 Welcome to the FTP server. Remote system type is UNIX. Using binary mode to transfer files. ftp> status Connected to ftp.example.com. 220 Welcome to the FTP server. Remote system type is UNIX. Using binary mode to transfer files. ftp> status Connected to ftp.example.com. 220 Welcome to the FTP server. Remote system type is UNIX. Using binary mode to transfer files. ftp> status Connected to ftp.example.com. 220 Welcome to the FTP server. Remote system type is UNIX. Using binary mode to transfer files. ftp> status Connected to ftp.example.com. 220 Welcome to the FTP server. Remote system type is UNIX. Using binary mode to transfer files. ftp> status Connected to ftp.example.com. No proxy connection. Mode: stream; Type: binary; Form: non-print; Structure: file Verbose: on; Bell: off; Prompting: on; Globbing: on Store unique: off; Receive unique: off Case: off; CR: off; LF: on Local echo: on; Quote echo: on Local: 192.168.0.100, 21 Remote: 203.0.113.1, 1025 ftp> ``` 在上面的示例中,“Local”行显示本地IP地址和端口号(192.168.0.100和21),而“Remote”行显示远程IP地址和端口号(203.0.113.1和1025)。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值