10 lines
118 B
Bash
10 lines
118 B
Bash
#!/bin/sh
|
|
localfile=$1
|
|
remotefile=$2
|
|
|
|
sftp $FTP_HOME << EOF
|
|
put $localfile $remotefile
|
|
bye
|
|
EOF
|
|
echo "upload finished"
|