Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. filename=$SERIAL.png
  2. hostname=myserver.net
  3. remoteport=10021
  4. path=/Web/PiTops_State/screen
  5. localpath=~/
  6. username=admin
  7. password=*****
  8. ftp -inv -p <<FTPSEND
  9. open ${hostname} ${remoteport}
  10. user ${username} ${password}
  11. cd ${path}
  12. binary
  13. lcd ${localpath}
  14. put ${filename}
  15. bye
  16. FTPSEND
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement