SHARE
TWEET

Untitled

a guest Aug 12th, 2016 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. IP=""
  3. PORT="21"
  4. USER=""
  5. PASSWORD=""
  6. FILEPATH=""
  7. DEVNAME=""
  8.  
  9. wget "ftp://${USER}:${PASSWORD}@${IP}:${PORT}/${FILEPATH}" -O "${DEVNAME}-$(date '+%d%m%y-%H%M%S').xls"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top