Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Download the file from the internet and extract the .zip file
#2
(10-24-2025, 10:01 AM)quickbasic Wrote: Is there any instruction in qb64 that downloads files from a link and then extracts the file from the .zip file?
I use qb64 version 1.5.

   There's no "built in" support but you can always Shell an external program.   

   In Windows the system program "START zipfile.zip" 
will open the zip file as a folder. 

so in QB64PE code   

 zipfilename$ = "myzipfile.zip"
 Shell -dontwait "START " + zipfilename$

 On MAC the command open will do similiar and on Linux
the program xdg-open will do likewise.
Reply


Messages In This Thread
RE: Download the file from the internet and extract the .zip file - by ahenry3068 - 10-24-2025, 11:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux - file dialogue boxes... atl068 7 923 08-05-2025, 07:21 PM
Last Post: hsiangch_ong
  Converting a MIDI file to text (csv, tab-delimited, etc.) and back again? madscijr 7 2,292 03-11-2025, 11:00 PM
Last Post: madscijr
  Mix mode input of a binary open file Question! doppler 5 1,468 11-28-2024, 03:06 PM
Last Post: Petr
  Suggestion: Preallocated file open doppler 14 2,749 02-25-2024, 02:35 AM
Last Post: SMcNeill
  Unable to extract the QB64PE .7z distribution using File Explorer hanness 7 1,844 10-10-2023, 07:24 PM
Last Post: SpriggsySpriggs

Forum Jump:


Users browsing this thread: 1 Guest(s)