|Don't ask to ask, just ask|
DB_FILE from LINUX to Windowsby kleucht (Beadle)
|on Oct 13, 2003 at 23:34 UTC||Need Help??|
kleucht has asked for the
wisdom of the Perl Monks concerning the following question:
I'm struggling trying to get a LINUX created BerkleyDB file opened and used in the Windows environment.
I got the DB_File perl module installed using PPM on the Windows 2000 machine. That worked great. Now without any DB file in the directory when I run my program, it creates the "filename.db" file and manipulates it just fine. But when I copy my original "filename.db" file into it's place ... the one that was actually created on a Linux machine, it tells me it cannot open the file.
I've FTP'd the DB file using both BINARY and ASCII, and both give me the same error.
I've messed with the file permissions on the DB file on the Windows machine and the file that it is giving me an error on has the exact same permissions as the file that the perl script created & modified successfully, so it cannot be a permission problem.
Is there a potential disconnect with the LINUX created file and the windows perl DB_File module? Can the Windows Perl module DB_File open and modify a file that was created on a Linux machine?
Thanks for any help you can give!