start working on ftp and webdav scripts

This commit is contained in:
Pi
2019-02-26 09:38:33 -05:00
parent c273d2e369
commit 9dd17b23ad
5 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#! /bin/bash
HOST='192.168.90.2'
USER='jody'
PASSWD='jodyw4sh3re'
ftp -n -v $HOST << EOT
bin
user $USER $PASSWD
prompt
lcd /home/pi/ftp
get file.zip
bye
EOT