NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
File Upload - Request for Enhancement
« previous
next »
Print
Pages: [
1
]
Author
Topic: File Upload - Request for Enhancement (Read 2936 times)
David
Full Member
Posts: 127
File Upload - Request for Enhancement
«
on:
October 18, 2010, 06:15:10 PM »
While testing file upload functionality, I monitored memory utilization. It appears that NT is saving the uploaded file in memory and once the whole file is received it is writing to disk. I uploaded a 800MB file and memory utilization jumped to 1.2GB and then the upload failed.
Could you add an option to write chunks of the file to a temp file and then rename it when the upload is complete?
Thank you.
NT5PR32
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: File Upload - Request for Enhancement
«
Reply #1 on:
October 19, 2010, 06:26:48 AM »
Hi David,
yes, you're right - it goes to Ram, then gets block written to disk.
I agree, it would be a good idea in some cases (esp if the file is big) to stream immediately. I have this on my list of "things to do" at the moment.
cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
File Upload - Request for Enhancement