Guest User

Untitled

a guest
Nov 17th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #! /bin/ksh
  2.  
  3. directory path where the file need to be
  4.  
  5. ftp (hostname of the application server)
  6.  
  7. username
  8.  
  9. password
  10.  
  11. file location in the apps server
  12.  
  13. get filename
  14.  
  15. quit
  16.  
  17. ftp -inv <<EOF
  18. open app.server.address
  19. user username password
  20. cd some/location
  21. get filename
  22. bye
  23. EOF
  24.  
  25. machine <address>
  26. login <username>
  27. password <password>
Add Comment
Please, Sign In to add comment