Good luck in the new year, everyone!

I want to update my program from a internet directory. Suppose, my updated
announces is in ftp://xxxxx.com/update/announce.txt, how can I download the
file in vfp?

Of cource, I can do it a API function: ShellExecute with such code:

DECLARE integer ShellExecute in shell32.dll As ShellA integer hwnd,;
String lpOperation , string @lpFile , String lpParameters , String
@lpDirectory ,integer nShowCmd
Shella(0,'OPEN','ftp://xxxxx.com/update/announce.txt','','',5)

But the problem is: executing it will come out a question window. I needn't
it, and I want to download it in a folder I can control and no any question
window automatically created by window. How can I do it?

Tks a lot!

Chuen

Re: How can I download a file from a internet address in vfp! by Eric

Eric
Sat Jan 03 06:27:51 CST 2004

Hello, quan!
You wrote on Sat, 3 Jan 2004 15:32:52 +0800:

q> I want to update my program from a internet directory. Suppose, my
q> updated announces is in ftp://xxxxx.com/update/announce.txt, how can I
q> download the file in vfp?

Perhaps you can learn more from this article:

Automatic Application Updates over the Web with Visual FoxPro 7.0
http://www.west-wind.com/presentations/wwCodeUpdate/codeupdate.asp
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: How can I download a file from a internet address in vfp! by Neil

Neil
Sat Jan 03 12:10:21 CST 2004

There's an FTP class available on www.universalthread.com - download ID
9442. You have to register, but it's free, and it's well worth joining
anyway.

Regards,
Neil

"quan" <cnchuen@hotmail.com> wrote in message
news:OA8vqvc0DHA.560@TK2MSFTNGP11.phx.gbl...
> Good luck in the new year, everyone!
>
> I want to update my program from a internet directory. Suppose, my updated
> announces is in ftp://xxxxx.com/update/announce.txt, how can I download
the
> file in vfp?
>
> Of cource, I can do it a API function: ShellExecute with such code:
>
> DECLARE integer ShellExecute in shell32.dll As ShellA integer hwnd,;
> String lpOperation , string @lpFile , String lpParameters , String
> @lpDirectory ,integer nShowCmd
> Shella(0,'OPEN','ftp://xxxxx.com/update/announce.txt','','',5)
>
> But the problem is: executing it will come out a question window. I
needn't
> it, and I want to download it in a folder I can control and no any
question
> window automatically created by window. How can I do it?
>
> Tks a lot!
>
> Chuen
>
>



Re: How can I download a file from a internet address in vfp! by Fred

Fred
Sat Jan 03 14:18:11 CST 2004

Neil,

You don't even need to register for the UT. Downloads are accessable
without it.

Fred
Microsoft Visual FoxPro MVP


"Neil Waterworth" <nospam-or-nwaterworth@lineone.net> wrote in message
news:%23JY7bTi0DHA.1916@TK2MSFTNGP10.phx.gbl...
> There's an FTP class available on www.universalthread.com - download ID
> 9442. You have to register, but it's free, and it's well worth joining
> anyway.
>
> Regards,
> Neil
>
> "quan" <cnchuen@hotmail.com> wrote in message
> news:OA8vqvc0DHA.560@TK2MSFTNGP11.phx.gbl...
> > Good luck in the new year, everyone!
> >
> > I want to update my program from a internet directory. Suppose, my
updated
> > announces is in ftp://xxxxx.com/update/announce.txt, how can I download
> the
> > file in vfp?
> >
> > Of cource, I can do it a API function: ShellExecute with such code:
> >
> > DECLARE integer ShellExecute in shell32.dll As ShellA integer hwnd,;
> > String lpOperation , string @lpFile , String lpParameters , String
> > @lpDirectory ,integer nShowCmd
> > Shella(0,'OPEN','ftp://xxxxx.com/update/announce.txt','','',5)
> >
> > But the problem is: executing it will come out a question window. I
> needn't
> > it, and I want to download it in a folder I can control and no any
> question
> > window automatically created by window. How can I do it?
> >
> > Tks a lot!
> >
> > Chuen
> >
> >
>
>



Re: How can I download a file from a internet address in vfp! by Neil

Neil
Sat Jan 03 20:17:28 CST 2004

Fred,

You're right, but I never noticed this before. The UT seems much more
intuitive if I DON'T logon.

Regards,
Neil

"Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
news:OSfa3aj0DHA.2604@TK2MSFTNGP09.phx.gbl...
> Neil,
>
> You don't even need to register for the UT. Downloads are accessable
> without it.
>
> Fred
> Microsoft Visual FoxPro MVP
>
>
> "Neil Waterworth" <nospam-or-nwaterworth@lineone.net> wrote in message
> news:%23JY7bTi0DHA.1916@TK2MSFTNGP10.phx.gbl...
> > There's an FTP class available on www.universalthread.com - download ID
> > 9442. You have to register, but it's free, and it's well worth joining
> > anyway.
> >
> > Regards,
> > Neil
> >
> > "quan" <cnchuen@hotmail.com> wrote in message
> > news:OA8vqvc0DHA.560@TK2MSFTNGP11.phx.gbl...
> > > Good luck in the new year, everyone!
> > >
> > > I want to update my program from a internet directory. Suppose, my
> updated
> > > announces is in ftp://xxxxx.com/update/announce.txt, how can I
download
> > the
> > > file in vfp?
> > >
> > > Of cource, I can do it a API function: ShellExecute with such code:
> > >
> > > DECLARE integer ShellExecute in shell32.dll As ShellA integer hwnd,;
> > > String lpOperation , string @lpFile , String lpParameters , String
> > > @lpDirectory ,integer nShowCmd
> > > Shella(0,'OPEN','ftp://xxxxx.com/update/announce.txt','','',5)
> > >
> > > But the problem is: executing it will come out a question window. I
> > needn't
> > > it, and I want to download it in a folder I can control and no any
> > question
> > > window automatically created by window. How can I do it?
> > >
> > > Tks a lot!
> > >
> > > Chuen
> > >
> > >
> >
> >
>
>



Re: How can I download a file from a internet address in vfp! by Fred

Fred
Sat Jan 03 22:53:45 CST 2004

Neil,

You've noticed that, too. I thought it was just me.

Fred
Microsoft Visual FoxPro MVP

"Neil Waterworth" <nospam-or-nwaterworth@lineone.net> wrote in message
news:%23hbWmjm0DHA.2328@TK2MSFTNGP10.phx.gbl...
> Fred,
>
> You're right, but I never noticed this before. The UT seems much more
> intuitive if I DON'T logon.
>
> Regards,
> Neil
>
> "Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
> news:OSfa3aj0DHA.2604@TK2MSFTNGP09.phx.gbl...
> > Neil,
> >
> > You don't even need to register for the UT. Downloads are accessable
> > without it.
> >
> > Fred
> > Microsoft Visual FoxPro MVP
> >
> >
> > "Neil Waterworth" <nospam-or-nwaterworth@lineone.net> wrote in message
> > news:%23JY7bTi0DHA.1916@TK2MSFTNGP10.phx.gbl...
> > > There's an FTP class available on www.universalthread.com - download
ID
> > > 9442. You have to register, but it's free, and it's well worth joining
> > > anyway.
> > >
> > > Regards,
> > > Neil
> > >
> > > "quan" <cnchuen@hotmail.com> wrote in message
> > > news:OA8vqvc0DHA.560@TK2MSFTNGP11.phx.gbl...
> > > > Good luck in the new year, everyone!
> > > >
> > > > I want to update my program from a internet directory. Suppose, my
> > updated
> > > > announces is in ftp://xxxxx.com/update/announce.txt, how can I
> download
> > > the
> > > > file in vfp?
> > > >
> > > > Of cource, I can do it a API function: ShellExecute with such code:
> > > >
> > > > DECLARE integer ShellExecute in shell32.dll As ShellA integer hwnd,;
> > > > String lpOperation , string @lpFile , String lpParameters , String
> > > > @lpDirectory ,integer nShowCmd
> > > > Shella(0,'OPEN','ftp://xxxxx.com/update/announce.txt','','',5)
> > > >
> > > > But the problem is: executing it will come out a question window. I
> > > needn't
> > > > it, and I want to download it in a folder I can control and no any
> > > question
> > > > window automatically created by window. How can I do it?
> > > >
> > > > Tks a lot!
> > > >
> > > > Chuen
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Re: How can I download a file from a internet address in vfp! by Andrew

Andrew
Mon Jan 05 07:57:26 CST 2004

Neil Waterworth wrote:
> There's an FTP class available on www.universalthread.com - download
> ID 9442. You have to register, but it's free, and it's well worth
> joining anyway.

and then Neil Waterworth wrote:
> The UT seems much more intuitive if I DON'T logon.

So it's well worth NOT joining? ;)

--
Regards
Andrew Howell



Re: How can I download a file from a internet address in vfp! by Neil

Neil
Mon Jan 05 14:47:13 CST 2004


"Andrew Howell" <ajh@work> wrote in message
news:eik7eP50DHA.4032@tk2msftngp13.phx.gbl...
> Neil Waterworth wrote:
> > There's an FTP class available on www.universalthread.com - download
> > ID 9442. You have to register, but it's free, and it's well worth
> > joining anyway.
>
> and then Neil Waterworth wrote:
> > The UT seems much more intuitive if I DON'T logon.
>
> So it's well worth NOT joining? ;)
>

No, you don't get the pictures of the currently online UT members if you
don't logon:) Probably.



Re: How can I download a file from a internet address in vfp! by Fred

Fred
Mon Jan 05 22:09:49 CST 2004


"Neil Waterworth" <nospam-or-nwaterworth@lineone.net> wrote in message
news:%23MPxa080DHA.1668@TK2MSFTNGP10.phx.gbl...
>
> "Andrew Howell" <ajh@work> wrote in message
> news:eik7eP50DHA.4032@tk2msftngp13.phx.gbl...
> > Neil Waterworth wrote:
> > > There's an FTP class available on www.universalthread.com - download
> > > ID 9442. You have to register, but it's free, and it's well worth
> > > joining anyway.
> >
> > and then Neil Waterworth wrote:
> > > The UT seems much more intuitive if I DON'T logon.
> >
> > So it's well worth NOT joining? ;)
> >
>
> No, you don't get the pictures of the currently online UT members if you
> don't logon:) Probably.

Now there's a definite plus to not logging on! My picture scares small
animals and children. ;)

Fred
Microsoft Visual FoxPro MVP