diff --git a/backup-manager-upload b/backup-manager-upload index 33636fd..d69b9a0 100755 --- a/backup-manager-upload +++ b/backup-manager-upload @@ -813,7 +813,7 @@ sub ftptls_put_file ($$) { my ($ftp, $file) = @_; my $basename = basename ($file); - return $ftp->put ($basename, $file); + return $ftp->put ($file, $basename); } # }}}