PC Review


Reply
Thread Tools Rate Thread

API Internet function

 
 
=?Utf-8?B?Sm9uV2F5bg==?=
Guest
Posts: n/a
 
      20th Apr 2006
This is not an access function but a vba question nevertheless; I have a
routine that I wrote which automates the process of downloading a file from
an FTP site, using the Windows APIs. Are there any API functions, however,
that can be used to download files from and http site instead?

Thanks for any input
 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      20th Apr 2006
Have a look here:
http://www.mvps.org/access/modules/mdl0037.htm

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

"JonWayn" <(E-Mail Removed)> wrote in message
news:C625B681-AA3F-427F-8813-(E-Mail Removed)...
> This is not an access function but a vba question nevertheless; I have a
> routine that I wrote which automates the process of downloading a file
> from
> an FTP site, using the Windows APIs. Are there any API functions, however,
> that can be used to download files from and http site instead?
>
> Thanks for any input


 
Reply With Quote
 
=?Utf-8?B?Sm9uV2F5bg==?=
Guest
Posts: n/a
 
      21st Apr 2006
That didnt quite do what I wanted. Here's the scenario. My provider's website
gets updated daily, for the most part (weekdays that is), with a new file.
For now I am manually opening the page, selecting and downloading the file by
right-clicking the hyperlink and hitting 'Save Target As'. Once the site pops
up, a table is displayed with a list of hyperlinks - ones that were
previously added and 1 or more new ones. They are names with a date suffix so
I can determine what ones I already downloaded and what ones are new. I take
only new, in the fashion mentioned earlier.

Automation:
I'd like to be able to automate the process by
1. reading each hyperlink
2. based on the date part, determining whether it is new or old (this
step I am competent to handle)
3. Downloading the data that each new link links to.

Any known APIs that will handle steps 1 and 3?

Thanks


"Alex Dybenko" wrote:

> Have a look here:
> http://www.mvps.org/access/modules/mdl0037.htm
>
> --
> Best regards,
> ___________
> Alex Dybenko (MVP)
> http://alexdyb.blogspot.com
> http://www.PointLtd.com
>
> "JonWayn" <(E-Mail Removed)> wrote in message
> news:C625B681-AA3F-427F-8813-(E-Mail Removed)...
> > This is not an access function but a vba question nevertheless; I have a
> > routine that I wrote which automates the process of downloading a file
> > from
> > an FTP site, using the Windows APIs. Are there any API functions, however,
> > that can be used to download files from and http site instead?
> >
> > Thanks for any input

>
>

 
Reply With Quote
 
Alex Dybenko
Guest
Posts: n/a
 
      21st Apr 2006
Hi,
I think you can use mentioned API to:
1. download a page with links to local drive
2. read it as a text, find out a link you need
3. download file using same API
HTH
--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

"JonWayn" <(E-Mail Removed)> wrote in message
news:4A5CB1E8-A7C2-4AA1-89AA-(E-Mail Removed)...
> That didnt quite do what I wanted. Here's the scenario. My provider's
> website
> gets updated daily, for the most part (weekdays that is), with a new file.
> For now I am manually opening the page, selecting and downloading the file
> by
> right-clicking the hyperlink and hitting 'Save Target As'. Once the site
> pops
> up, a table is displayed with a list of hyperlinks - ones that were
> previously added and 1 or more new ones. They are names with a date suffix
> so
> I can determine what ones I already downloaded and what ones are new. I
> take
> only new, in the fashion mentioned earlier.
>
> Automation:
> I'd like to be able to automate the process by
> 1. reading each hyperlink
> 2. based on the date part, determining whether it is new or old (this
> step I am competent to handle)
> 3. Downloading the data that each new link links to.
>
> Any known APIs that will handle steps 1 and 3?
>
> Thanks
>
>
> "Alex Dybenko" wrote:
>
>> Have a look here:
>> http://www.mvps.org/access/modules/mdl0037.htm
>>
>> --
>> Best regards,
>> ___________
>> Alex Dybenko (MVP)
>> http://alexdyb.blogspot.com
>> http://www.PointLtd.com
>>
>> "JonWayn" <(E-Mail Removed)> wrote in message
>> news:C625B681-AA3F-427F-8813-(E-Mail Removed)...
>> > This is not an access function but a vba question nevertheless; I have
>> > a
>> > routine that I wrote which automates the process of downloading a file
>> > from
>> > an FTP site, using the Windows APIs. Are there any API functions,
>> > however,
>> > that can be used to download files from and http site instead?
>> >
>> > Thanks for any input

>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer won't function =?Utf-8?B?U3VzaWVFZmY=?= Windows XP General 6 16th Apr 2007 11:30 PM
XP does not function - can not get on internet =?Utf-8?B?QmV0dHk=?= Windows XP Help 1 2nd Jun 2004 12:46 AM
mis function of Internet explorer forrest@harrissalesinc.com Windows XP Internet Explorer 1 15th Mar 2004 11:51 PM
Wininet.dll Internet dial function. Sean Barnes Microsoft C# .NET 1 26th Sep 2003 07:26 PM
Internet explorer 6, does not function Dennis Windows XP Internet Explorer 1 3rd Aug 2003 02:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 PM.