Open GammaPi opened 4 years ago
on some deployments refreshing the page would kill the PHP process and abort the operation after the network connection is closed on others, the PHP process might survive the page refresh
there is currently no concept of background / async file operation at the moment, this would need to be implemented in the first place before a GUI can be built
The files_zip
app (not installed by default) does execute zip jobs behind the scenes then notifies the user when completed (note: this is not the behavior of the default zip support in server
). This uses OCP\BackgroundJob\QueuedJob
. So the building blocks are there... when someone gets around to it.
If you copy/move some large files and then refresh the page, the progressbar will disappear and the user cannot tell if the copy operation has completed other than specifically compare filesize between src and dst folder. They cannot cancel the operation because there is no such button to allow them to do so either. Also if you copy really large folders(like the one with 40GB files), the UI will say "File Cannot Be Copied" (I guess maybe nextcloud UI tell the user operation failed after a certain timeout), but in fact the copy background job is still woking (you can ssh into the server and manually check folder size).
So it will be more intuitive if nextcloud can display background job in a UI, so that user can check it's status/cancel the job easily.