• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

Downloading file from the Internet

Started by Patrice Terrier, August 28, 2011, 09:27:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Patrice Terrier

What is the best way to download a file from the internet, using these type of URL?

http://radio.dogmazic.net:8000/radio_dogmazic.ogg.m3u
http://players.creacast.com/creacast/dreyeckland/playlist.asx

Like when you right click on the url, and select "save the target file as".

Thank you
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Edwin Knoppert

UrlDownloadToFile() API
But a 2nd time caching may come into play.
I solve that by using the event callback and save the temp filename to be deleted.

Also note a cascading effect in those files, a file can point to another asx file and so on.

Edwin Knoppert


Patrice Terrier

Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com