Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to resume upload after destroyed directive? #347

Open
quangvinh1305 opened this issue Aug 8, 2018 · 1 comment
Open

How to resume upload after destroyed directive? #347

quangvinh1305 opened this issue Aug 8, 2018 · 1 comment

Comments

@quangvinh1305
Copy link

quangvinh1305 commented Aug 8, 2018

Dear all,
I have an issue when i click on pause button.
Then i minimize ng-flow directive and resume it with the pausedFlow instance variable i saved it in fileSrv and reinitialize flow-name="fileSrv.pausedFlow" .
I can't see the file i paused.

@djechelon
Copy link

That's not exactly how pause works. Chunked uploading is what allows you to handle resumable downloads server side.

If you remove the directive your client-side upload session is killed as well, the pending chunks are still stored on the server if you don't notify anything.

So normally you would have to restart the file upload and Flow will poll the server to detect at which point to resume upload.

Indeed, you may want to clarify how you actually "minimize" ng-flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants