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

Can I specify the temporary url of the downloading file? #2434

Closed
chaocharleswang opened this issue Feb 10, 2018 · 1 comment
Closed

Can I specify the temporary url of the downloading file? #2434

chaocharleswang opened this issue Feb 10, 2018 · 1 comment
Assignees
Labels

Comments

@chaocharleswang
Copy link

chaocharleswang commented Feb 10, 2018

What did you do?

Download file via Alamofire

What did you expect to happen?

Get the location of the temporary url during downloading OR specify the temporary url before download

What happened instead?

Now I just get the information after download

Alamofire Environment

**Alamofire version:4.5
**Xcode version:9.2
**Swift version:4
**Platform(s) running Alamofire:OS X
**macOS version running Xcode:10.13.3

Demo Project

Null

@jshier
Copy link
Contributor

jshier commented Feb 18, 2018

No, this isn't possible, as the temporary URL is defined by the underlying URLSession API. Alamofire provides API to move the file where you want after download, but defining the initial location isn't possible.

@jshier jshier closed this as completed Feb 18, 2018
@jshier jshier self-assigned this Feb 18, 2018
@jshier jshier added the support label Feb 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants