Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / [DGDK 7.4] dbReadFileBlock does not support absolute paths

Author
Message
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 9th Apr 2010 17:45
All file functions seem to support absolute paths, except dbReadFileBlock.

dbReadFileBlock creates the folder specified in the second parameter if it doesn't exist.


The example project (attached) creates an absolute path folder:

C:\BUGS_2010_DGDK7.4\

And then it writes a file there to be readed with dbReadFileBlock.

When dbReadFileBlock is performed, it accidentally creates the folder

.\BUGS_2010_DGDK7.4\

in the current working directory. This is not a desireable behaviour.

The extracted file sometimes ends in the right folder (C:\BUGS_2010_DGDK7.4\) and sometimes it is extracted in the relative path (even worst).

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-25 00:48:53
Your offset time is: 2024-04-25 00:48:53