Code archives/File Utilities/GetInternetFile - downloads a file as a string

This code has been declared by its author to be Public Domain code.

Download source code

GetInternetFile - downloads a file as a string by Zethrax2013
Grabs a file from the internet and stores it in a global string variable.

Make sure you read the 'Requirements' and other sections of the comments.

Note that this function also requires the 'SplitString()' function found at: http://www.blitzbasic.com/codearcs/codearcs.php?code=2991

Can be used in combination with the 'SaveString' function linked below to download and save a file.

SaveString - saves a string value as a file
http://www.blitzbasic.com/codearcs/codearcs.php?code=3070

The code can be found at: http://www.blitzbasic.com/codearcs/codearcs.php?code=3069

Comments

None.

Code Archives Forum