Home  >  Article  >  Backend Development  >  请问SFTP的相关命令。

请问SFTP的相关命令。

WBOY
WBOYOriginal
2016-06-13 12:17:301180browse

请教SFTP的相关命令。高手请进!
目前有几个关于SFTP的命令不会,百度也没查到。请知道的大虾赐教,谢谢!

1、切换当前目录,类似ftp_chdir命令的功能。
2、列出当前目录的文件列表。类似ftp_nlist命令的功能。

------解决思路----------------------
你输入help可看到帮助

cd   path       远程变路径
lcd  path       本地变路径
------解决思路----------------------
ls    -al      显示远程路径内容
lls    -al      显示本地路径内容

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn