Questions tagged [file-processing]

333 questions
0
votes
0 answers

file writing and reading in c

I want to write accounts ( number name and balance) in a file and read these inormations subsequently but I didn't find my faults in my code somehow. Somebody can help me ? #include #define SIZE 50 int main(){ int accountNum; …
Matrix
  • 1
0
votes
1 answer

tr -d or sed -e 's/\r//g' can't remove CRLF from file in MINGW32

i have this CERTIFICATE file -----BEGIN CERTIFICATE…
user63898
  • 29,839
  • 85
  • 272
  • 514
0
votes
1 answer

How can determine the next number to assign a file when attempting to organize a directory?

I am working on a perl script to organize a folder we have that holds all of our order documents. The script works for the most part except for a curve ball someone threw at me the other day. The problem is when we have an order that we have redone…
AtomicPorkchop
  • 2,625
  • 5
  • 36
  • 55
0
votes
1 answer

Why is there no program-data independence in traditional file processing?

"In traditional file processing, the structure of data files is embedded in the application programs, so any changes to the structure of a file may require changing all programs that access that file. By contrast, DBMS access programs do not require…
0
votes
1 answer

Using an external service or agent to Log all the file accesses and processing done my Java web-app?

I work to maintain an Enterprise Java web app. Its extremely configurable, with over thousands of config files and xml definitions. Background At times, some config file gets corrupted leading to a blocking exception. The file name and file path are…
0
votes
1 answer

Reading and processing files does not finish before attempting write to a new file. Promise related

Really struggling here and just lost at this point. Promises SEEM simple until I try to use them. I am providing my simplified code that includes no attempt at a promise to keep things simple. I have come back to this after a few months of just…
MKnight
  • 1
  • 1
0
votes
1 answer

Is there a 3rd party .NET library/assembly that will parse & import files using a metadata-driven approach?

I need to parse a bunch of delimited flat files and import them into a database. I could build my own simple metadata-driven parser and importer but figure there must be something like this out there already? Thanks, Dave.
Dave
0
votes
1 answer

Searching DB table to determine unseen file names from list

I am processing flat files from disk and need to ensure that I never process the same file twice. The filename of every processed file is stored in a postgresql DB and at the next iteration I need to determine the unseen files on disk and process…
Niel de Wet
  • 7,806
  • 9
  • 63
  • 100
0
votes
1 answer

Design Pattern: Which pattern is suitable for FileProcessor design that reads XLSX file and can also read a zip file that contains multiple XLSX files

I have a class that is supposed to read XLSX files, but the file to be processed can also be an a ZIP file that contains XLSX files. I have the following design: FileReader: An interface for reading xlsx Worksheet files. interface FileReader { …
0
votes
2 answers

Random Sample each datafile in my list before rbind them into a datafram using R

need help on my task. So I have folder of 121 .txt files. Each about 10MB in size. For each .txt file, they have almost exactly the same columns/headers, and various rows. I only found out the difference in column headers later yesterday, and it…
ML33M
  • 341
  • 2
  • 19
0
votes
1 answer

Google Cloud Webapp to use a user uploaded file for processing

I recently moved my project from heroku to google cloud. It's written in flask and basically does some text summary (nothing fancy) of an uploaded .docx file. I was able to locally use files on heroku due to their ephemeral file system. With…
0
votes
1 answer

Single parameter range from repeated range values

I have an HTML file, in which the parameters of interest occur between square brackets [ ], but then this range keeps repeating with identical names inside subsequent square brackets like this : var jArray= {"2":["May…
0
votes
0 answers

How do I overwrite a single line in a .dat file without overwriting the whole file? C++

I'm new to C++, so I'm not sure what is allowed and what isn't. At the while loop, I'm trying to read each line in the file individually and when it gets to the line that corresponds to the record # provided by the user (1-100), that whole line will…
Layzoo
  • 13
  • 2
0
votes
1 answer

is there a document specification for HWP (Hancom Word's file format)?

It would be of great help to know if there a document specification available for HWP (Hancom Word Format) which could help me to implement a HWP file Reader ! The data inside the file is encrypted, and so I am unable to make-out anything by just…
0
votes
0 answers

Appended items on text file, won't sort, but the original data on text file is sorted

After appending data, the problem appears. 1) I cannot read that data, that I append. I have to close the program, and then open it again so that it read the new data. 2) After i opened it again, to look at the new data, it won't sort, but all…