exception class: EIBCError
exception message: I / O error during "CreateFile (open)" operation for file "D:\Emporio do Pão\Data.Fdb" Error while trying to open file The system can not find the path specified.
This error only occurs in Folder where you have accents or special characters how do I resolve this ?
If I back up a folder with no special characters then the backup is done without problems.
I tested by IBExpert to make the Backup of this folder with special character and had no problems.
Code: Select all
With IBCBackupService1 do begin
Options := [];
// Server := Ed_serverName.text;
ClientLibrary := 'C:\Windows\System32\FBCLIENT.DLL'; // 'gds32.dll';
LoginPrompt := False;
NBackupLevel := 0;
UseNBackup := True;
Params.Add('user_name=SYSDBA');
Params.Add('password=masterkey');
Try
Showmessage('test');
Active := True;
Verbose := True;
Database := Edit1.Text; //Pchar('D:\Banco de Dados\Emporio do Pão\DATA-EXPERT.DAE'); // Edit1.Text;
BackupFile.Add('D:\bbb.fbk');
ServiceStart;
While not Eof do Begin
Application.ProcessMessages;
Memo_ProcessoGDB.Lines.Add(GetNextLine);
End;
Finally
Active := False;
Params.Clear;
BackupFile.Clear;
End;
End;