Category "file"

Arduino: getting filenames using SdFat

I have used SdFat before, but it seems to have changed and I can't find documentation that I understand, and fewer examples... I have an Arduino project in whic

Conversion of buffer data to blob in NodeJS

I get Buffer Data from a storage like <Buffer 48 65 79 20 74 68 65 72 65 21> for instance. I needed to convert it into a blob. But when i tried doing a to

Problem starting tkinter files using import

I'm trying to make my code smaller by using import instead of os.startfile() to open my other .pyw code. I'm having some problems with starting one of the files

Is there a way to change file details with NodeJS?

When you right click a file, hit properties, then go to the details page, there is a lot of details on that file. Is there a way to programmatically edit these

SuiteScript - Open, Read File

This is going to be a really stupid question - how do I open a file in the Filing Cabinet and read it in, line by line, using SuiteScript? Every example I can f

How do I determine whether an item in python ZipFile is dir or file?

This is my current system, which just looks to see whether there is a period in the path... but that doesn't work in all cases with ZipFile(zipdata, 'r') as

Angular input file: Selecting the same file

I have the following line in HTML: <input type="file" #fileInput style="display: none" accept=".xml" (change)="OnFileSelected($event)"/> Upon

How to save/load values from board to file

Im using c++ 11, I need to save/load array to and from file. Its the battleship game its need to be done for both user and computer array but i have no idea how

Reading stack pop/push operations by text-file input

I have a text file with the following contents: 2 S 8 push 2 push 3 push 5 push 7 pop print push 6 print S 4 pop print push 1 print An assignment gives: The f

is END OF FILE (EOF) right after the end of text or depends on the compiler?

I just started learning files in c few days ago. In order to understand how to manipulate correctly the functions, I wrote a code who create a new file (w+) rea

Remove Files whit name '\' [duplicate]

I make mistake file with this name '' and i do not know how to clear this file How to remove the file with this name '' ? rw-r--r-- 1 root ro

PHP - Write console output to file AND to console?

I want to write the console output to a file AND to the console itself. To write the console output to a file I'm using this: ob_start(); ... ... $output = ob

How to start iterating a file at specific line?

I’m iterating through a file’s lines with enumerate(), and sometimes would need to start the iterating at a specific file line, so I attempted testf

How to get image in response with postman

I have an endpoint to get the image i uploaded earlier, it works but not well I don't know if i can get the image in response my controller endpoint: @PreAuth

Binary file edit in Win CMD

How to split or edit binary file in Win CMD? I'm on Win 10 x64, and there's no DEBUG utility eg. to replace all 0a with 0d0a or change a byte value at some byt

How to save Base64 String to file and view it using Flutter

I need to download and view file (if possible, for Image, PDF, etc) using Flutter. My problem is, the file that I want to download is Base64 String. How can I

How to copy files from local machine to docker container on windows

I have to import data files from a user local file C:/users/saad/bdd to a docker container (cassandra), I didn't find how to proceed using docker commands. I'm

Open a file's properties window using Java

This is a question only regarding Java in Windows. I need a method that will call this window: So essentially the method should be something like: public v

Function to parse automaticly files .txt after 24 hour in c++

I have a project and I'm new to C++ Well I have to parse a file.txt that contains transaction informations in an ATM. And there is files named as the date of th

What is the encoding to read and write files with special characters such as en dash, left quotes, etc?

I'm reading csv files that contain special characters such as the long en dash –, left double quotes “, and right double quotes ” and I can't