Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: #!/bin/bash HOST='your.ftp.site' USER='remoteusername' PASSWD='remotepasswd' ftp -n -v $HOST << EOT ascii user $USER $PASSWD prompt //Stuff here bye EOT mput /serverfiles.zip mput local-files Expand wild cards in the list of local files given as argu- ments and do a put for each file in the resulting list. See Source: http://pastebin.com/raw.php?i=LVWS08vX
↧