Browse Source

Move FTP_OPTIONS earlier otherwise cd and put will fail

pull/625/head
Tim Kimber 5 years ago
parent
commit
e407426bdb
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      getssl

+ 1
- 1
getssl View File

@ -865,10 +865,10 @@ copy_file_to_location() { # copies a file, using scp, sftp or ftp if required.
$FTP_COMMAND <<- _EOF
open $ftphost
user $ftpuser $ftppass
$FTP_OPTIONS
cd $ftpdirn
lcd $fromdir
put ./$fromfile
$FTP_OPTIONS
_EOF
elif [[ "${to:0:5}" == "sftp:" ]] ; then
debug "using sftp to copy the file from $from"


Loading…
Cancel
Save