什么是适合Windows的SFTP命令行客户端?

时间:2010-08-13 13:52:42

标签: windows command-line sftp

大多数Windows SFTP客户端(如FileZilla)似乎都是基于GUI的。我需要一些我可以从批处理文件调用的东西。

9 个答案:

答案 0 :(得分:45)

pscp和psftp是非常可定制的(选项)和轻量级。开源启动。

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

答案 1 :(得分:14)

WinSCP具有命令行功能:

c:\>winscp.exe /console /script=example.txt

example.txt中完成脚本编写。

请参阅http://winscp.net/eng/docs/guide_automation

有关如何使用脚本语言(如Windows命令解释程序/ php / perl)的详细信息,请参阅http://winscp.net/eng/docs/guide_automation_advanced

FileZilla确实有一个命令行,但它仅限于使用站点管理器中的预定义服务器打开GUI。

答案 2 :(得分:7)

Cygwin + sftp / scp natrually

答案 3 :(得分:5)

可以从批处理文件中调用WinSCP:

"C:\Program Files\WinSCP\WinSCP.exe" /console

示例命令:

option batch on 
option confirm off  
option transfer binary 
open sftp://username@hostname:port -hostkey="ssh-rsa " 

答案 4 :(得分:1)

www.bitvise.com - sftpc也是一个很好的命令行客户端。

答案 5 :(得分:1)

LFTP很棒,但它只是Linux。您可以找到Windows端口here。从未尝试过。

Achtunq,它使用Cygwin,但所有内容都包含在捆绑包中。

答案 6 :(得分:0)

bitvise tunnelier效果很好

答案 7 :(得分:0)

这个小应用程序对我有用。我找不到另一个基于CLI的客户端来访问我的基于IIS的TLS / SSL安全ftp站点: http://netwinsite.com/surgeftp/sslftp.htm

答案 8 :(得分:-2)

Filezilla很棒,它可以支持command line arguments