I got a Nokia backup file (.cdb) - it's kindof database file. The first four bytes of the file are "DBFL".
Is it a well-known database file?
It's CardScan file. I suggest best way would be to download CardScan softwarte and try export from there to some more reliable format.
Related
In my embedded system I am using a CH376 IC (PDF link) for file handling. I am able to detect a Flash Disk, but not able to read the excel file created by Microsoft Excel. The excel file is created on the PC and copied in the Flash Disk.
I want to create a database in an Excel file on PC and after creating it, I want to upload in to my embedded system for this I need read the file created.
Please help me to read the file.
The .xls and .xlsx file formats are both extremely complex. Parsing them is unlikely to be feasible in an embedded environment. (In particular, .xlsx is a PKZIP archive containing XML data -- you will need a minimum of 32 KB of SRAM just to decompress the file containing the cell data, and even more to parse it.)
Use a different file format. Consider using .csv, for instance -- it's just a text file, with one row of data on each line, so it's pretty straightforward to work with.
I am new to MariaDB and need to do below activity.
We are using MariaDB as datatbase and we need to read a txt file from ftp location. Then load into a table. This has to be scheduled to read the file on a regular interval.
After searching I got LOAD DATA INFILE to be used, but it has the limitation that, it can't be used in Events.
Any suggestions/samples on this would be great help.
Thanks
Nitin
You import it and read it using the local path, MariaDB does basic file support, in no case it supports FTP transactions
LOAD DATA can only read a "file". But maybe the OS can play games...
What Operating System? If the OS can hide the fact that FTP is under the covers, then LOAD DATA will be none the wiser.
I want the user to be able to copy a file that's stored on disk from my GTK application to a normal file manager like Nautilus. How can I do that? I would prefer to just write a path into the clipboard and let the file manager take care of actually copying, is that possible?
I just found an example in which it seems as if the actual file data is transferred through the clipboard – but is that the only possible way?
You need CF_HDROP and possibly other shell clipboard formats.
See: http://msdn.microsoft.com/en-us/library/windows/desktop/bb776902(v=vs.85).aspx;
I have a database file with .DB file extension. I have been googling and it looks like SQLite. I tried to connect to it using SQLite and SQLite3 drivers and I am getting an error "File is encrypted or not a database".
So I dont know if file is encrypted or it is not an SQLite database. Are there any other options what should the .DB extension should be? How do I find out that file is encrypted?
I tried to open it in the text editor and it is mostly a mess of charaters and some times there are words visible. I have uploaded the file here: http://cl.ly/3k0E01373r3v182a3p1o for the closer look.
Thank you for your hints and ideas what to do and how to work with this file.
Marco Pontello's TrID is a great way to determine the type of any file.
TrID is simple to use. Just run TrID and point it to the file to be analyzed. The file will be read and compared with the definitions in the database. Results are presented in order of highest probability.
Just download the executable and the latest definitions file into the same directory and then run TrID:
trid.exe "path/to/file.xyz"
It will output a list of possible file types for the file with a confidence rating. Here's a screenshot of using TrID to analyze a SQLite database file:
There's also a GUI version called TrIDNet:
If you're on a Unix-like platform (Mac OS X, Linux, etc), you could try running file myfile.db to see if that can figure out what type of file it is. The file utility will inspect the beginning of the file, looking for any clues like magic numbers, headers, and so on to determine the type of the file.
Look at the first 30 bytes of the file (open it in Notepad, Notepad++ or another simple text viewer). There's usually some kind of tag or extension name in there.
Both SQLite 2 and SQLite 3 have a very clear message: SQLite format 3 for SQLite 3 (obviously) and This file contains an SQLite 2.1 database for SQLite 2.
Note that encrypted SQLite databases don't have a header like that since the entire file is encrypted. See siyw's comment below.
On a Unix-like system (or Cygwin under Windows), the strings utility will search a file for strings, and print them to stdout. Might help you narrow the field.
There are a lot of programs besides database programs that use a "db" extension, including
ArcView Object Database File (ESRI)
MultiEdit
Netscape
Palm
and so on. Google "file extensions" for some sites that catalog file extensions and the programs that use them.
There's no conclusive way to know, because SQLite encrypts the entire database file, including the header.
Further, there's not a lot of difference to you, except for possible error text to a user if you're prompting them for a password.
i have a requirement to export data to tsr file only. Previously we used to export to csv file.
Can anyone tell me what is tsr file and what is the content format? Is the contents in someway similar with csv?
Google does not come up with something convincing. I suggest you ask your client to explain the requirement in more detail. TSR does not seem to be a generally understood format.
Maybe TSV (tab-separated values, VERY similar to CSV)?
TSR are shared repository file. Basically you can see this type of file in HP UFT. Whenever you create object in UFT it goes into repository with extension .tsr.
See this: http://www.computerfileextensions.com/file-extensions.php/TSR
But the results are not so clear/convincing.
Can not you ask for a sample tsr file from your client?
Another result for related to TSR files, but it's probably another format the OP was looking for.
The TSR file extension is related to TSR Launcher, a fan-made program for The Sims 3 computer game series that allows users to quickly install Sims3Pack files without using the Launcher provided by EA. It looks like the program is no longer available for download.
A *.tsr file is used for download basket function. Most likely some sort of container.
http://www.file-extensions.org/tsr-file-extension