2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

50_SSFile.pm: contrib Version 0.7.1

git-svn-id: https://svn.fhem.de/fhem/trunk@23114 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-11-08 09:26:33 +00:00
parent d4057d0b1a
commit 7561076123

View File

@ -143,6 +143,7 @@ BEGIN {
# Versions History intern # Versions History intern
my %vNotesIntern = ( my %vNotesIntern = (
"0.7.1" => "08.11.2020 fix download ",
"0.7.0" => "02.11.2020 new set command deleteRemoteObj, fix download object with space in name ", "0.7.0" => "02.11.2020 new set command deleteRemoteObj, fix download object with space in name ",
"0.6.0" => "30.10.2020 Upload files may contain wildcards *. ", "0.6.0" => "30.10.2020 Upload files may contain wildcards *. ",
"0.5.0" => "26.10.2020 new Setter Upload and fillup upload queue asynchronously, some more improvements around Upload ", "0.5.0" => "26.10.2020 new Setter Upload and fillup upload queue asynchronously, some more improvements around Upload ",
@ -592,7 +593,7 @@ sub _setDownload {
# method => auszuführende API-Methode, # method => auszuführende API-Methode,
# params => "spezifische API-Parameter> # params => "spezifische API-Parameter>
$arg = smUrlEncode ($arg); # $arg = smUrlEncode ($arg);
my ($a,$h) = parseParams ($arg); my ($a,$h) = parseParams ($arg);
my $fp = $a->[0]; my $fp = $a->[0];
@ -600,6 +601,8 @@ sub _setDownload {
return qq{No source file or directory specified for download !} return qq{No source file or directory specified for download !}
} }
$fp = smUrlEncode ($fp);
delReadings ($name, 0); delReadings ($name, 0);
my @dld = split ",", $fp; my @dld = split ",", $fp;