diff --git a/fhem/CHANGED b/fhem/CHANGED index 687fafe78..855009f90 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: configdb filemove not working after previous changes - change: IMPORTANT CHANGES TO configDB! changed: all files will be imported as binary changed: all existing textfiles will be moved to binary diff --git a/fhem/FHEM/98_configdb.pm b/fhem/FHEM/98_configdb.pm index 618c004e0..f8e3221c5 100644 --- a/fhem/FHEM/98_configdb.pm +++ b/fhem/FHEM/98_configdb.pm @@ -261,7 +261,8 @@ sub CommandConfigdb($$) { $filename .= "/$param1"; } if ( -r $filename ) { - $ret = _cfgDB_Fileimport ($filename,1); + my $filesize = -s $filename; + $ret = _cfgDB_binFileimport ($filename,$filesize,1); $ret .= "\nFile $filename deleted from local filesystem."; } elsif ( -e $filename) { $ret = "\n Read error on file $filename";