Download a text file using HTTP
Posted on 2000-03-16
Can anyone give me an EXAMPLE of how to download a text file from a server onto the local machine without any user interaction (ie no prompts to run from current location or save).
Ie the answer I am looking for is a complete version of the following
Public Function GetFile(byval sURL as string, byval sFileName as string) as Boolean
'Download and store file at sURL as sFilename
'Return True/False based on success of operation
I have seen a very similar question posted here before but the accepted answer wasnt a complete solution and I cant get it to work.
Anybody able to provide me with a complete example in the format above ?