| Author |
getting a file from web site
|
|
| Rafael Chemtob 2004-03-30, 1:30 pm |
| hi
I have a file which I need to get from a web site.
I'm using the filesystemobject. Does anyone have any code of how to pick up
a file from
http://www.myDomain.com/filename.xls.
I want to save the filename.xls file to my local machine via code.
Any ideas?
thanks
| |
| Jeff Johnson [MVP: VB] 2004-03-30, 1:30 pm |
|
"Rafael Chemtob" <rchemtobb@nospam.yahoo.com> wrote in message
news:ObDHJ2nFEHA.2472@TK2MSFTNGP10.phx.gbl...
> I have a file which I need to get from a web site.
> I'm using the filesystemobject. Does anyone have any code of how to pick
up
> a file from
> http://www.myDomain.com/filename.xls.
> I want to save the filename.xls file to my local machine via code.
Won't the WinInet control do this?
| |
|
|
| Steven Burn 2004-03-30, 1:30 pm |
| Check out the URLDownloadToFile API
--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Rafael Chemtob <rchemtobb@nospam.yahoo.com> wrote in message
news:ObDHJ2nFEHA.2472@TK2MSFTNGP10.phx.gbl...
> hi
> I have a file which I need to get from a web site.
> I'm using the filesystemobject. Does anyone have any code of how to pick
up
> a file from
> http://www.myDomain.com/filename.xls.
> I want to save the filename.xls file to my local machine via code.
>
> Any ideas?
>
> thanks
>
>
| |
| Rafael Chemtob 2004-03-30, 1:30 pm |
| I used this. Works great. Now how do I get a hold of that file and save it
on my file server?
"Veign" <NOSPAMinveign@veign.com> wrote in message
news:OnZdn5nFEHA.2560@TK2MSFTNGP12.phx.gbl...
>
> Download file from URL
> http://www.veign.com/vrc_codeview.asp?type=app&id=45
>
> --
> Chris Hanscom
> MVP (Visual Basic)
> http://www.veign.com
> ------
> "Rafael Chemtob" <rchemtobb@nospam.yahoo.com> wrote in message
> news:ObDHJ2nFEHA.2472@TK2MSFTNGP10.phx.gbl...
pick[color=darkred]
> up
>
>
| |
| Bob Butler 2004-03-30, 1:30 pm |
| "Rafael Chemtob" <rchemtobb@nospam.yahoo.com> wrote in message
news:ukwYy9nFEHA.3404@TK2MSFTNGP10.phx.gbl
> I used this. Works great. Now how do I get a hold of that file and
> save it on my file server?
You passed it a filename, right? That file should have been created with
the contents.
Either pass a filename including the path to the server or use a local file
and use the FileCopy statement to copy it to the server
--
Reply to the group so all can participate
VB.Net... just say "No"
| |
| Rafael Chemtob 2004-03-30, 1:30 pm |
| Got it, figured it out.
thanks
"Rafael Chemtob" <rchemtobb@nospam.yahoo.com> wrote in message
news:ukwYy9nFEHA.3404@TK2MSFTNGP10.phx.gbl...
> I used this. Works great. Now how do I get a hold of that file and save
it
> on my file server?
>
> "Veign" <NOSPAMinveign@veign.com> wrote in message
> news:OnZdn5nFEHA.2560@TK2MSFTNGP12.phx.gbl...
> pick
>
>
|
|
|
|