Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

I am building a React Native app with Expo SDK 54. I want to download a file (e.g., PDF or image) from my API and save it on my device. I am not sure how to handle the file download and save it using ...
ekod27's user avatar
  • 1
1 vote
2 answers
60 views

I have an XML file with a node containing a file that has been converted into hexbinary. The ultimate goal is to read that node, convert it back to an actual file and store the path of that file in a ...
Pierrick Dupas's user avatar
-6 votes
1 answer
87 views

So for class, I have to code something to open a file named grades.txt and just after getting it to recognize the file name, it has stopped showing me errors. I know it is not working as there are ...
Demonic Printer's user avatar
Best practices
1 vote
4 replies
114 views

I have this .bat file that I use to open .csv files, which counts the lines in them and uses Excel to open if under a million records and a separate program to open if more than a million records. The ...
Tyler Moore's user avatar
0 votes
0 answers
27 views

I read everywhere that reserved file names like CON or NUL can't be used to create files on Windows no matter if there is a file extension following or not. Even the Windows docs say: Do not use the ...
Mayor Mayer's user avatar
2 votes
1 answer
69 views

I have a github repo that is hosted on GitHub Pages (project site). I’m migrating a small PyScript demo to GitHub Pages and hitting 404s when preloading files via <py-config>. This works locally ...
My Work's user avatar
  • 2,560
1 vote
0 answers
28 views

I have a Frontend Client which lets users uploads any number of files of any size (think up to 100 GB File). Currently I am using GCS buckets presigned URL to upload the file. My current ...
Asif Alam's user avatar
1 vote
1 answer
58 views

I am programming a little software in Go called GoFileEncoder. For the file dialog boxes, I would like to use fyne.io/fyne/v2/dialog. Only, the functions dialog.ShowFileOpen() and dialog.ShowFileSave()...
eliotttak's user avatar
1 vote
0 answers
110 views

I need to write (modify) an executable file and then execute it from a Linux system call. I have attempted to create (open) the file, write to it, close it, and then execute it. The problem is that ...
Viorel Preoteasa's user avatar
1 vote
1 answer
67 views

I'm checking the file signature of an IFormFile and I'm curious if I can avoid resetting to the beginning of the stream after my check is done. I intend to dispose the copy of the original stream and ...
BobDidley's user avatar
  • 211
-3 votes
1 answer
97 views

Analysis of Google Fonts Here is me scrolling through the Greek fonts As you scroll, you'll see it progressively calls the css2 url like: https://fonts.googleapis.com/css2?family=STIX%20Two%20Text%...
Lance Pollard's user avatar
2 votes
3 answers
166 views

Let's say I want to replace every occurrence of 12345 in file1 with the contents of file2. The following code works: use strict; use warnings; local $/; open my $fh, 'file1' or die "$!"; ...
Ivan's user avatar
  • 377
1 vote
0 answers
48 views

I'm using Spark java with below dependency, and I'm trying to make one API endpoint to receive an file using multipart file, Below is the code attached, I've tried multiple ways to do that, but ...
Rochit Aggarwal's user avatar
0 votes
1 answer
83 views

I'm working on a R shiny application. When I use the "Run App" button on the R interface my fileInput doesn't seem to be working (see image below). My browser console shows this error: :...
Joran van Noort's user avatar
0 votes
0 answers
46 views

I have an android app whose content is filled with localised files in raw folders (raw, raw-de, raw-fr...). Now I want to develop it in Flutter, but I don't find anything about internationalisation of ...
Turvy's user avatar
  • 1,062
0 votes
1 answer
89 views

In this python script I am trying to randomly access one of the components in this JSON file, however I repeatedly receive a "Keyerror". Here is the code: import json def genCard(): ...
ShulkTNT2's user avatar
2 votes
2 answers
145 views

I have to write into a file the records of students (id, name, percentage) and get the list of those students who have scored percentage equal to or more than 90. The output prints in infinite loop. ...
nischalinn's user avatar
  • 1,284
2 votes
1 answer
83 views

I'm making a program that reads multiple structs in and out of different files. For one of them, I have a format for reading from the file, and one for writing to it. #include <stdio.h> int ...
Alexandre Filho's user avatar
3 votes
2 answers
201 views

My initiative here is to make a detection mechanism on process status by a "file lock". Say I am developing a program in user mode. It will be inappropriate for some sources to be shared ...
PkDrew's user avatar
  • 2,281
0 votes
1 answer
56 views

In Node.js we must use fs.createReadStream to deal with large files to avoid high memory usage. So when do we consider a file to be large ?
pheromix's user avatar
  • 19.6k
2 votes
2 answers
96 views

What I need to do is simple: I have A-f bound to find-file in emacs, but want to hide specific files that I do not care about. I have them hidden in dired already using this config: (setq dired-omit-...
David Avarage's user avatar
0 votes
0 answers
33 views

So, I'm working on a CustomGPT that has access to my filebase and can search, open, create, and modify files. (It can also cache files, get them, save user prefs and get them.) So how it works is that ...
Teodor G's user avatar
-2 votes
1 answer
196 views

I'm working on a Java utility. This utility should read some input files (one or several). Each input file contains three types of strings, representing an integer, a float, and a string. The utility ...
longpastgone's user avatar
0 votes
1 answer
39 views

Preface: This is a self-answered question, which is why there's no solution attempt in the question itself. The task description is a focused reformulation of this now-deleted question. I have a ...
mklement0's user avatar
  • 452k
0 votes
1 answer
79 views

I am using Terminal on my MacBook. From the top directory if I do: cd Library cd Java cd JavaVirtualMachines ls I see the following files: corretto-21.0.5 corretto-22.0.2 openjdk-20.0.2 openjdk-23.0....
John Lau's user avatar

1
2 3 4 5
1629