Advertisement
D0cEvil

Bash - Connect to FTP server

Dec 6th, 2022
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. ftp -inv serv_ip_address << EOF
  4. quote USER user_name
  5. quote PASS password
  6. cd /script
  7. binary
  8. get filename
  9. bye
  10. EOF
Tags: ftp BASH howto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement