Browse Source

Add chmod to ftp command

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

+ 1
- 0
getssl View File

@ -859,6 +859,7 @@ copy_file_to_location() { # copies a file, using scp, sftp or ftp if required.
cd $ftpdirn
lcd $fromdir
put ./$fromfile
chmod 644 $fromfile
_EOF
elif [[ "${to:0:5}" == "sftp:" ]] ; then
debug "using sftp to copy the file from $from"


Loading…
Cancel
Save