Re: Downloading Zip file from internet.

From: S Bans (SBans_at_discussions.microsoft.com)
Date: 11/12/04


Date: Thu, 11 Nov 2004 17:15:03 -0800

Dan,

It is good that it is working at your end, however not here. I use WIN XP
Pro as OS and Mcafee virusscan and Firewall.

Regards

S Bans

"Dan Freeman" wrote:

> It works perfectly for me. Are you sure you have an active internet
> connection? Are you behind a firewall or proxy server that's preventing the
> connection?
>
> Dan
>
> S Bans wrote:
> > David Frankenbach,
> >
> > Thanks for your guidance. I get the following results from your
> > suggestions:
> >
> > I saved the ReadURL Txt file as a program at "c:\test" as
> > ReadURL.prg. then I created another program as follows:
> >
> > **************
> > SET PROCEDURE TO c:\test\readurl.prg
> > uWebContent =
> > ReadURL("http://www.geocities.com/ResearchTriangle/9834/objref.zip")
> >
> > OK = STRTOFILE(uWebContent,"C:\test20041111.zip")
> >
> > ? OK
> > ******************
> >
> > But, I get the message "URL cannot be opened". and the file is not
> > saved.
> >
> > I will look forward to your further comments.
> >
> > Regards,
> >
> > S Bans
> >
> >
> >
> > "David Frankenbach" wrote:
> >
> >> S Bans,
> >>
> >> Get the ReadURL function from my website. You can use it to pul any
> >> URL into a memory variable and then use StrToFile() to output it to
> >> disk.
> >>
> >> --
> >> df - Microsoft MVP FoxPro http://www.geocities.com/df_foxpro
> >>
> >> "S Bans" <SBans@discussions.microsoft.com> wrote in message
> >> news:BC536142-6234-46AF-8710-979B1209FA3D@microsoft.com...
> >>> Friends,
> >>>
> >>> I am looking for ways to download some files from internet via VFP
> >>> 8. I tried some solutions suggested in some previous posts which I
> >>> have appended
> >>> at the bottom of this message. However I could not find my solution
> >>> from them. I am looking for guidance regarding:
> >>>
> >>> 1. How do we download a file
> >>> http://www.nseindia.com/content/equities/MTO.DAT
> >>>
> >>> and save it as a TXT file.
> >>>
> >>> 2. How to download a ZIP file from net and then save it on my
> >>> computer via a
> >>> VFP program
>
>
>