fluttercommunity / fluttercommunity/flutter_downloader
java.io.IOException: File name too long
- Dominant language
- Kotlin
- Stars
- 940
- Forks
- 561
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 1
Description
eg download URL:https://upos-hz-mirrorakam.akamaized.net/upgcxcode/35/94/773099435/773099435_nb3-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1657952617&gen=playurlv2&os=akam&oi=3451485230&trid=4b5ce2cd22da459b9372a3c36add73b3u&mid=0&platform=pc&upsig=a97cb8f7a600abb2750d0983d82e9716&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1657952617~hmac=9de3ad8f017b23e103de5831855df6caa29a6051fff94bcd20828e34ba07b795&bvc=vod&nettype=0&orderid=0,1&agrr=1&bw=284963&logo=80000000
Auto set fileName is :
`fileName = 773099435_nb3-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1657952617&gen=playurlv2&os=akam&oi=3451485230&trid=4b5ce2cd22da459b9372a3c36add73b3u&mid=0&platform=pc&upsig=a97cb8f7a600abb2750d0983d82e9716&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1657952617~hmac=9de3ad8f017b23e103de5831855df6caa29a6051fff94bcd20828e34ba07b795&bvc=vod&nettype=0&orderid=0,1&agrr=1&bw=284963&logo=80000000`
then download fail,case by filename too long.
You need to modify the logic of getting file names again.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Begin by locating the filename-generation entry point for download URLs and reproduce the long-name failure with the example URL. Done means the download succeeds without using the URL query string as the filename, with a regression test added or updated if the project provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, flutter, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100