Browse Source

added FTP method into the default config notes. (0.39)

pull/41/head
srvrco 10 years ago
parent
commit
c8338e9802
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      getssl

+ 4
- 4
getssl View File

@ -387,10 +387,10 @@ copy_file_to_location() { # copies a file, using scp if required.
ftppass=$(echo "$to"| awk -F: '{print $3}')
ftphost=$(echo "$to"| awk -F: '{print $4}')
ftplocn=$(echo "$to"| awk -F: '{print $5}')
ftpdirn=$(dirname $ftplocn)
ftpfile=$(basename $ftplocn)
fromdir=$(dirname $from)
fromfile=$(basename $from)
ftpdirn=$(dirname "$ftplocn")
ftpfile=$(basename "$ftplocn")
fromdir=$(dirname "$from")
fromfile=$(basename "$from")
debug "ftp user=$ftpuser - pass=$ftppass - host=$ftphost dir=$ftpdirn file=$ftpfile"
debug "from dir=$fromdir file=$fromfile"
ftp -n <<- _EOF


Loading…
Cancel
Save