Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [file]

A block of arbitrary information, or resource for storing information, accessible by the string-based name or path. Files are available to computer programs and are usually based on some kind of persistent storage.

file
-2 votes
0 answers
26 views

C# reading large file data of leads to memory leak [closed]

I have a file having 2500000 lines. each line has this format data : -946.469900574903,2024-07-03 15:56:20.562891 I am reading this file in chunks of every 25000 lines, i.e 100 times ...
vin's user avatar
  • 23
1 vote
1 answer
36 views

Read/Write to text file, keep special charters but don't change the BOM

It looks like the original file has a BOM already but my VBA breaks it. The text "" or HEX "ef bb bf" is at the start of the file when viewed in Notpad++ with the HEX add-in. ...
Tanquen's user avatar
  • 43
-1 votes
0 answers
9 views

How to securely send files from server and store them to client's PC without client's interaction, with scheduling

I know that some iteration of this question was asked already, but I think my case is a bit more specific. I have a product that customers use to retrieve files from my server, periodically by ...
chovo's user avatar
  • 23
-1 votes
1 answer
15 views

Trying to read a log file using typescript

How do I read a log file using typescript -- I've tried using fs - but it says the module is not found. I've tried to use a promise - but then its not resolving. should I place the test file in the ...
The Old County's user avatar
2 votes
0 answers
29 views

Good way to understand if file has been just created rather than modified in Linux

I need a way to learn if a file has been just created (rather than e.g. modified). I do it like this: const bool isCreated = ((f.atime.tv_sec == f.mtime.tv_sec) && ...
JenyaKh's user avatar
  • 2,298