Skip to content

Conversation

@tobias74
Copy link
Contributor

@tobias74 tobias74 commented Feb 3, 2020

I needed this functionality because I had to re-calculate the target-url for each file based on information I added to the ResumableFile-Object in the "fileAdded"-Hook.

Basically the information is only available when the user adds the file to the queue. This information is not available at the time of the actual uploading.

Therefore I add this piece of information to the ResumableFileObject when the "fileAdded"-Hook fires. Later, when the target-callback is executed, I retrieve it from the ResumableFileObject.

I needed this functionality because I had to re-calculate the target-url for each file based on information I added to the ResumableFile-Object in the "fileAdded"-Hook.

Basically the information is only available when the user adds the file to the queue. This information is not available at the time of the actual uploading. 

Therefore I add this piece of information to the ResumableFileObject when the "fileAdded"-Hook fires. Later, when the target-callback is executed, I retrieve it from the ResumableFileObject.
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

Successfully merging this pull request may close these issues.

1 participant