Top "File-io" questions

File I/O is input/output that involves the file system.

Saving any file to in the database, just convert it to a byte array?

Is converting a file to a byte array the best way to save ANY file format to disk or database …

c# file-io byte
Replace string within file contents

How can I open a file, Stud.txt, and then replace any occurences of "A" with "Orange"?

python string file-io
Copy a file in a sane, safe and efficient way

I search for a good way to copy a file (binary or text). I've written several samples, everyone works. But …

c++ file-io
Read file-contents into a string in C++

Possible Duplicate: What is the best way to slurp a file into a std::string in c++? In scripting languages …

c++ string file-io
How to write a large buffer into a binary file in C++, fast?

I'm trying to write huge amounts of data onto my SSD(solid state drive). And by huge amounts I mean 80…

c++ performance optimization file-io io
C Programming: How to read the whole file contents into a buffer

I want to write the full contents of a file into a buffer. The file actually only contains a string …

c file-io
Getting path relative to the current working directory?

I'm writing a console utility to do some processing on files specified on the commandline, but I've run into a …

c# file-io
jQuery: get the file name selected from <input type="file" />

This code should work in IE (don't even test it in Firefox), but it doesn't. What I want is to …

jquery events copy file-io
Reading a file character by character in C

I'm writing a BF interpreter in C and I've run into a problem reading files. I used to use scanf …

c file-io io iostream
getResourceAsStream() vs FileInputStream

I was trying to load a file in a webapp, and I was getting a FileNotFound exception when I used …

java file-io web-applications fileinputstream