multiotp icon indicating copy to clipboard operation
multiotp copied to clipboard

Backup needs _temp folder - included in zip file?

Open lollett opened this issue 1 year ago • 1 comments

Using the Windows version from a clean install you cannot create a backup from within the web browser - you receive the message "*** BACKUP ERROR ***"false""

In order to get the backup function to work you need to create a folder called: x:\tmp or x:\multiotp\_temp note: I couldn't find any mention of these temp folders in the documentation.

Might help new users if a _temp folder is added to base directory in the zip?

Otherwise could the tmp backup location be changed to x:\multiotp\windows\config (The restore function puts cfg files in here and file naming don't seem to clash)

multiotp.server.php:

case mb_strtoupper("BackupConfig",'UTF-8'):
                            $tmp  = '/tmp';
to 
                            $tmp  = '/conf';

lollett avatar Feb 14 '24 14:02 lollett

Hello, Oups, this will be corrected in 5.9.7.2 order to use the system temporary folder regards,

multiOTP avatar Feb 16 '24 13:02 multiOTP