Hi
I wrote a Haskell code which has to solve the following problem : we have n files : f1, f2, f3 .... fn and I cut those files such a way that each slice has 100 lines
f1_1, f1_2, f1_3 .... f1_m
f2_1, f2_2, .... f2_n
...
fn_1, fn_2, .... fn_k
finally I construct a special data type (Dags) using slices in the following way
...
I wonder where IIS saves the uploaded file? There must be some default directory. Is it possible to save an uploaded file to a user defined directory on IIS?
...
Hello all.
Is it possible to increase "Max open files" parameter for working process ?
I mean this parameter:
cat /proc/<pid>/limits | grep files
Thanks for your advices
...
#!/usr/bin/perl
open(SARAN,"first.txt") or die "Can't Open: $!\n";
while($line=<SARAN>)
{
print "$line\n";
}
close SARAN;
Hi,
In the above perl script, i need one functionality...
in first.txt, each line starts with some space in front..
I need to print the lines without space in front...
What to do.
thanks..
...
How do I read an image file and decode it using Python?
...
Hey,
is TYPO3 doing some indexing of the filesystem into database?
We try to add a video to our page here, but video isn't selecable from the file window altough its put into the right directory.
The Fileadmin says "9 records found" in the folder and is displaying only 7 Files, because someone might have deleted two of the files out of t...
A program i am working on deals with processing file content. Right now i am writing jUnit tests to make sure things work as expected. As part of these tests, i'd like to reference an inline text file which would define the scope of a particular test.
How do i access such a file?
--
Let me clarify:
Normally, when opening a file, you ne...
Hello I am using this code to download multiple file. My problem is that it downloads them all at one time and what I want to do is have the progress bar show each file downloaded to 100% then go to the next file. I mean I want the first file to download and go to 100% in progress bar then the second one and start the progress bar again ...
I am working on a small text replacement application that basically lets the user select a file and replace text in it without ever having to open the file itself. However, I want to make sure that the function only runs for files that are text-based. I thought I could accomplish this by checking the encoding of the file, but I've found ...
I have to open a file using ZwOpenFile API. This is my requirement. When I set the path in object name parameter. I could see fields Length and maximumlength in the object name.
Length is just length of the path and I usually keep maximumlength as the value of Length.
It worked mostly, however some times it doesnot work. In some cases ...
Hi,
i need to make a file behave as a circular buffer. From one thread i have to write the data.From another thread i have read from the file. But the size of the file is fixed.
Any idea?
...
considering visual C++ compiler, Lets say I've got a file with whatever extension and it contains 100 bytes of data which are exactly the data that I want to initialize an array of char data type with a length of 100 characters with, Now apparently one way is to read those data out of file by using I/O file classes or APIs at run-time bu...
I want to insert the data at some positions in the text file without actually overwriting on the existing data.I tried RandomAccessFile ....but that also overwrites it....
Is there any way to insert the data without overwriting??
-Thanks in advance
...
I'm completely stuck on this one.
Whenever I upload a large file, larger than 8MB (approx), I get this error code in the $_FILES array...
I looked at the loaded extensions, but it didn't help... The max file upload is 50M and the max post is 55M.
Has anyone else had this problem before, and know of an extension that may be causing it?
...
Hi friends
I want to make a program for management the Image files with DELPHI .
now,I want create a password on any files that user select with my program until
these files not opened with Windows itself.
How to solve this problem?
Tanks to all.
...
Hey.
I have a text file with few hundred lines, the structure is pretty simple.
firstname lastname
I need to pick out a random firstname & listname from the file.
Thanks.
...
I am writing something to get at the information contained in an MPO multi-picture file produced by cameras such as the fuji 3D cameras.
I have the proposed spec, which is obviously written to confuse, and is available from here:
CIPA multi picture spec PDF and have navigated the normal exif parts and extracted the MFP information.
Sec...
I have a script which connects to database and gets all records which statisfy the query. These record results are files present on a server, so now I have a text file which has all file names in it.
I want a script which would know:
What is the size of each file in the output.txt file?
What is the total size of all the files present ...
Possible Duplicate:
How can I programmatically create PowerPoint presentations. On Linux. For Free.
hello,
do anyone know how to generate a PPT file (powerpoint) from a simple C++ program??
i have the Idea, but i really dont know the "How To".
I installed openoffice SDK, and i know that openoffice exports to *.ppt format. T...
I have a file under creation in a long process. To my understanding copying that file to another file would kill the creation process. Is there away to overcome this problem?
...