HttpUtils2

Sinan Tuzcu

Well-Known Member
Licensed User
Longtime User
Helo,

my file on web ist "sinan.png" and after download is "0.png" why?

how can I keep the original Name, after download?
 

jdiperla

Member
Licensed User
Longtime User
The issue is that httputils2 downloads the file as the task id # of the download. Therefore, if your download is the first download of the app (From when it started running), the file will be 0.

You could just do a file.copy of the number of the taskid and rename it that way.
 
Upvote 0

Sinan Tuzcu

Well-Known Member
Licensed User
Longtime User

I can not understand what you mean.
can you give me explain with an example?
 
Upvote 0

padvou

Active Member
Licensed User
Longtime User
I would also need an example of copying a downloaded file to a location in an sd card folder.
Thank you
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…