vsftpd/client-install.sh
raw link view readme1 | |
2 | cat > ~/verification.sh << EOF |
3 | |
4 | ftp -n $1 << EOF2 |
5 | quote user user01 |
6 | quote pass mypassword |
7 | get something_to_download.txt |
8 | quit |
9 | EOF2 |
10 | |
11 | cat something_to_download.txt |
12 | |
13 | echo "upload content" > ~/something_to_upload.txt |
14 | |
15 | ftp -n $1 << EOF2 |
16 | quote user user01 |
17 | quote pass mypassword |
18 | put something_to_upload.txt |
19 | ls |
20 | quit |
21 | EOF2 |
22 | |
23 | EOF |
24 | chmod +x ~/verification.sh |
25 |