nextcloud / neon

A framework for building convergent cross-platform Nextcloud clients using Flutter.
Other
128 stars 31 forks source link

Support chunked uploads in Files #2449

Open toly1994328 opened 2 months ago

toly1994328 commented 2 months ago

I noticed this issue https://github.com/nextcloud/neon/issues/1123 . Do you have any planned support for large file chunked upload in the Neno project?

provokateurin commented 2 months ago

You mean inside the files app?

There already is https://github.com/nextcloud/neon/pull/2308, but it's not mergeable at the moment because I first need to figure out how we are going to support CalDAV and CardDAV in the client.

So no ETA at the moment.

provokateurin commented 2 months ago

If you tell me a bit more about why you need it and how important it is, I might consider it a bit higher in priority and try to make it available soon.

toly1994328 commented 2 months ago

Thank you for your reply. I am a Flutter enthusiast, and I was thrilled to see that Nextcloud supports Flutter. I hope to use it to build a cross-platform cloud-based personal file storage application that involves handling large files like videos and books.

provokateurin commented 2 months ago

Nice!

It totally makes sense to use chunked upload for that. While this needs to be implemented in the nextcloud package, the implementation in the files app is also going to take some effort as there is a lot more logic involved than for a normal upload.

In the mean time you can still upload large files by allowing larger uploads in your web server configuration. It's not perfect, but gets the job done.

toly1994328 commented 2 months ago

Thank you so much! I'm not very familiar with server configuration. Could I ask how to set it up? Or is there any documentation available?

provokateurin commented 2 months ago

Checkout https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html. The limit you set there will be the maximum file size you can upload without using chunked upload.

toly1994328 commented 2 months ago

Thank you very much!