Skip to content

Instantly share code, notes, and snippets.

@flashlib
Created September 3, 2013 10:37
Show Gist options
  • Save flashlib/6422276 to your computer and use it in GitHub Desktop.
Save flashlib/6422276 to your computer and use it in GitHub Desktop.
列出FTP所有文件
@echo off
ftp ftp的地址
login username password
ls >c:\a.txt
这样就把ftp的文件列到a.txt里面了。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment