Re: dbms_backup_restore.deletefile with UNC-Filenames

From: <sybrandb_at_yahoo.com>
Date: 15 Mar 2004 00:37:47 -0800
Message-ID: <a1d154f4.0403150037.3f77c9fc_at_posting.google.com>


NoSpam_at_Boehrer.de (Ralf) wrote in message news:<bae86b36.0403120408.1e91ba7a_at_posting.google.com>...
> Hi,
>
> I have Oracle 8.1.7 and use the command:
> sys.dbms_backup_restore.deletefile ('c:\Test.txt');
> to delete the file (C:\Test.txt) physically from the disk.
> It all works fine.
>
> Now I have to delete Files from which I only know the UNC-Filenames.
> (e.g.: sys.dbms_backup_restore.deletefile
> ('\\Server\data\Test.txt');
> Now the command doesn't work anymore.
> I get the error message: "O/S-Error: (OS 13) The data is invalid".
> But the file does exist. I can delete it (with the UNC-path) from the
> windows explorer for example.
>
> Has anybody an idea what I did wrong ??
>
> Thanks in advance for any help or comment.
> Best regards
> Ralf

Oracle doesn't support network drives and/or backup to a network drive. It also has never supported anything else than 8.3 DOS-compatible file names.

Sybrand Bakker
Senior Oracle DBA Received on Mon Mar 15 2004 - 09:37:47 CET

Original text of this message