Category "file"

Return many files with json from backend to client

I want to know may i respond to client from backend controller with many files (with application/octet-stream). It will be more better, if i respond array of fi

How to deal with files with no extension in Python

I am currently writing a script for work, which goes through every file in a directory and its many sub directories and counts the amount of lines in each file.

Dot Net File Name to Replace,

How to Replace File Name from Folder structure have Multiple files want to Remove special characters in all fileName at a time. String rep = Regex.Replace(files

How to listen how many bytes written to storage while saving excel file in syncfusion_flutter_xlsio?

I am using syncfusion_flutter_xlsio library for generating excel file and saving it. When my data is so big I have to present progress. How can I perform it? Wo

How save file in emulated/0 (android 11)

I have been reading the documentation of the new way of saving files in android 11 and it is not clear to me ... How could I save a file in / storage / emulated

Rails - a way to check the last line while using smarter_csv gem

I am using smarter_csv gem to parse a large CSV file on Heroku. SmarterCSV.process(file_name, { chunk_size: 10, headers_in_file: false, user_provided_headers: u

FileOutputStream in dart flutter

what's the equivalent fileoutputstream of java in dart? Java code file = new FileOutputStream(logFile, true); byte[] input = "String".getBytes(); file.write(inp

Property 'create' does not exist on type { new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined):File; prototype: File}

I'm trying to create a file-sharing app using Multer, Cloudinary, Typescript, and Mongoose. When I'm trying to save the files uploaded by users and the data lik

Can I load .npy/.npz files from inside a python package?

I am trying to create my own python package where hopefully one day other people will be able to contribute with their own content. For the package to work it m

How to copy a file to a sharepoint site

I have to copy a file on a sharepoint site. I have seen that the only authentication working is with the AuthenticationManager. So this works: var authManager =

How can I open ".scpt" files on Windows?

I would like to open a ".scpt" file, what editors can I use? P.S. I am using Windows, so the App should support Windows.

How to append to a file using PyCharm [closed]

Below is the code I'm using to input data into a file using pycharm, however, after the code executes the file has not changed and I know it w

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