You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is actually expected and desired behavior, but perhaps poorly documented.
You could call save twice on the same instance and it would upload with two different random names that are generated at the time when the actual upload is requested, not when the upload is described initially. So what it returns is only the filename you have set yourself (explicitly). Thus it also allows you to check if you have already set a name.
We could change this behavior, but I’m not sure if that’s really necessary.
Why would you need the random file name even before the upload has been processed? As shown in the README, it’s easy to get the generated name as soon as it has actually been created:
If withTargetFilename() is not set on upload, getTargetFilename() don't return the random name generated
The text was updated successfully, but these errors were encountered: