Download finish #374
Unanswered
horasjey
asked this question in
Q&A / Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hallo ,
how to create a failure message when downloading a file with 404 not found
`root@nas:/mnt/myhdd/web/object# gdown https://racaty.my.id/download/NjZkZTU4NTU4YjI0ZTU3OTA2NjQ2NzUxLm1wNEAxMTMuMjEyLjEyNS4xMjVAMTcyNjQyMTQyNjEzNUBZR0dLRUQ0bXhBMGlDNVpwM1BSTzJsTHhtNUhLU3J5aEs4SjRiN29tSjg0PQ==/NGEFILM21.PW.Bonnie.2024.WEB-DL.720p.mp4
not foundroot@nas:/mnt/myhdd/web/object# `Downloading...
From: https://racaty.my.id/download/NjZkZTU4NTU4YjI0ZTU3OTA2NjQ2NzUxLm1wNEAxMTMuMjEyLjEyNS4xMjVAMTcyNjQyMTQyNjEzNUBZR0dLRUQ0bXhBMGlDNVpwM1BSTzJsTHhtNUhLU3J5aEs4SjRiN29tSjg0PQ==/NGEFILM21.PW.Bonnie.2024.WEB-DL.720p.mp4
To: /mnt/myhdd/web/object/nb21.my.id..Bonnie.2024.WEB-DL.720p.mp4
35.0B [00:00, 82.7kB/s]
root@nas:/mnt/myhdd/web/object# ls
nb21.my.id..Bonnie.2024.WEB-DL.720p.mp4 'New blank file' hls mp4 output.json
root@nas:/mnt/myhdd/web/object# curl https://racaty.my.id/download/NjZkZTU4NTU4YjI0ZTU3OTA2NjQ2NzUxLm1wNEAxMTMuMjEyLjEyNS4xMjVAMTcyNjQyMTQyNjEzNUBZR0dLRUQ0bXhBMGlDNVpwM1BSTzJsTHhtNUhLU3J5aEs4SjRiN29tSjg0PQ==/nb21.my.id..Bonnie.2024.WEB-DL.720p.mp4
Can I display a failure message when the file is downloaded with a 404 like curl?
Beta Was this translation helpful? Give feedback.
All reactions