Timeout limit on readurl function?
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
40k
- Posts: 234
- Joined: 09 Dec 2011 21:25
Timeout limit on readurl function?
Anyone know if there is a timeout value in seconds for the readurl function? I'm getting seemingly random "download failed" errors in my scripts that use readurl(). Often when I try a second or third time the script works as intended. I'm on a dodgy ADSL connection in Southern Europe right now so I can't figure out if it's my code throwing a fit on just the internet here being crap.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
-
admin
- Site Admin
- Posts: 67316
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Timeout limit on readurl function?
No timeout built in by me. Must be something else.
FAQ | XY News RSS | XY X
-
40k
- Posts: 234
- Joined: 09 Dec 2011 21:25
Re: Timeout limit on readurl function?
What could cause the readurl() function to throw "download failed" one time but it will work on the next attempt? No response from the server perhaps?admin wrote:No timeout built in by me. Must be something else.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial
-
admin
- Site Admin
- Posts: 67316
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Timeout limit on readurl function?
Anything that causes an imperfect transfer of bytes could be the reason.
FAQ | XY News RSS | XY X
XYplorer Beta Club