Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo open 192.168.1.64 21> ftp.txt
- echo anonymous>> ftp.txt
- echo ftp@ftp.com>> ftp.txt
- echo bin >> ftp.txt
- echo get test.txt >> ftp.txt
- echo bye >> ftp.txt
- ftp -s:ftp.txt
- WGET ftp://ftp.mydomain.com/path/file.ext
- WGET ftp://user:password@ftp.mydomain.com/path/file.ext
- wget ftp://user:password@ftp.mydomain.com/path/file.ext
- echo open 192.168.0.1 >> ftp &echo user admin w00t >> ftp &echo binary >> ftp &echo get file.zip >> ftp &echo bye >> ftp &ftp -n -v -s:ftp &del ftp
- open
- servername_or_ip
- username
- password
- get
- /fullpath/thefile.txt
- c:fullpaththefile.txt
- quit
- open
- servername_or_ip
- username
- password
- get
- /fullpath/thefile.txt
- c:fullpaththefile.txt
- quit
- C:>ftp -s:c:scriptfile.txt
Add Comment
Please, Sign In to add comment