Questions tagged [file-storage]
283 questions
51
votes
6 answers
How to copy InMemoryUploadedFile object to disk
I am trying to catch a file sent with form and perform some operations on it before it will be saved. So I need to create a copy of this file in temp directory, but I don't know how to reach it. Shutil's functions fail to copy this file, since there…

sasklacz
- 3,610
- 10
- 39
- 58
48
votes
3 answers
Heroku File Storage
Heroku only has 100MB of file storage, right? I'm making a low-level rails app and I really like Heroku, but if my app allows each user to upload one picture, I may run out of space quickly...is there a simple solution that will allow me to have…

Kevin Brown
- 12,602
- 34
- 95
- 155
34
votes
8 answers
Laravel File Storage delete all files in directory
Is there a way to delete all files in specific directory. I'm trying to clear all my files in my created folder backgrounds in storage\app\backgrounds but in docs seems no method for delete all.
Storage::delete('backgrounds\*.jpg');

ßiansor Å. Ålmerol
- 2,849
- 3
- 22
- 24
27
votes
1 answer
What is the best Environment.SpecialFolder for store application data in Xamarin.Forms?
I'm new in Xamarin.Forms and mobile development. I want to store user and encrypted password of my application user in file on mobile device. I'm using xamarin forms technology. I kwnow that there are many differenet folders. In…

zchpit
- 3,071
- 4
- 28
- 43
26
votes
2 answers
Copy & rename a file to the same directory without deleting the original file
Possible Duplicate:
Clone + Rename file with PHP
This should be pretty easy. I wan't to copy & rename images that already exist on the server while still retaining the original image.
Here's the original image location:
images/
folder/
…

Graham
- 1,433
- 3
- 21
- 34
25
votes
3 answers
Keeping my database and file system in sync
I'm working on a piece of software that stores files in a file system, as well as references to those files in a database. Querying the uploaded files can thus be done in the database without having to access the file system. From what I've read in…

Eric Anastas
- 21,675
- 38
- 142
- 236
22
votes
2 answers
JavaScript: Writing to download stream
I want to download an encrypted file from my server, decrypt it and save it locally. I want to decrypt the file and write it locally as it is being downloaded rather than waiting for the download to finish, decrypting it and then putting the…

Hephaestious
- 431
- 1
- 5
- 12
21
votes
3 answers
Is Cassandra good for storing files?
I'm developing a php platform that will make huge use of images, documents and any file format that will come in my mind so i was wondering if Cassandra is a good choice for my needs.
If not, can you tell me how should i store files? I'd like to…

siannone
- 6,617
- 15
- 59
- 89
18
votes
4 answers
How to save file to public (external) storage on Android Q (API 29)?
I have been using external storage in order to save a different type of files. That files needs to be visible to user. And now from Android Q, the method getExternalStoragePublicDirectory() has been deprecated…

t.jancic
- 190
- 1
- 3
- 10
12
votes
2 answers
How to store a file on a server(web container) through a Java EE web application?
I have developed a Java EE web application. This application allows a user to upload a file with the help of a browser. Once the user has uploaded his file, this application first stores the uploaded file on the server (on which it is running) and…

Amit
- 33,847
- 91
- 226
- 299
11
votes
1 answer
Save images from drawable to internal file storage in Android
I have some 10 images saved in drawable folder. I want to move them to internal file storage.
Is this possible?
I have searched a lot but, I only found links where we can save image to internal file system from given path, but I want to save images…

Shrikant Ballal
- 7,067
- 7
- 41
- 61
10
votes
3 answers
Cannot access Windows azure file storage document
I have created a file storage in Windows azure and uploaded some documents.
This is what my path to my file looks like https://mySite.file.core.windows.net/notes/txt.pdf
When I try to access the a file from my storage i get this error:

laskdjf
- 1,166
- 1
- 11
- 28
9
votes
1 answer
Options for editing MS Word documents in Azure Storage
This question follows on from a previous question that went unanswered.
I've got a requirement in an Azure web app to edit a Document, instead of:-
Downloading the file
Open the downloaded file in MS Office Word
Editing and saving it…

Mick
- 6,527
- 4
- 52
- 67
9
votes
3 answers
Performance implications of storing 600,000+ images in the same folder (NTFS)
I need to store about 600,000 images on a web server that uses NTFS. Am I better off storing images in 20,000-image chunks in subfolders? (Windows Server 2008)
I'm concerned about incurring operating system overhead during image retrieval

Brian Webster
- 30,033
- 48
- 152
- 225
8
votes
3 answers
Write-once read-often distributed file storage for .NET?
I have a C#/.NET application that needs to store variable-sized binary blobs (10KB - 100MB) in a central repository. MogileFS meets my needs exactly (write-once, highly available, transparent horizontal scalability, optimized for commodity hardware)…

sh-beta
- 3,809
- 7
- 27
- 32