- 
      
- 
        Save sailfish009/6d188f7f0bd8e5cd699eb0359a3f4e52 to your computer and use it in GitHub Desktop. 
    ftp put bash shell
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ftp -pn <<EOF | |
| open 192.168.0.10 | |
| quote USER anonymous | |
| quote PASS aaa | |
| binary | |
| put $1 | |
| EOF | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment