请问SFTP的相关命令。

WBOY
Release: 2016-06-13 12:17:30
Original
1258 people have browsed it

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

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!