|
-
Nov 8th, 2006, 04:41 AM
#1
Thread Starter
Member
web request
Hi all!
I have a link which return a file:
http://archive.eso.org/dss/dss/image...=download-fits
The simple download method return only html page. Should I use
SOAP or any other method? Can anyone send me sample or web page
with good manual. I never use SOAP before...
Thanks for help!
Best regards,
Maciej
-
Nov 8th, 2006, 06:15 AM
#2
Lively Member
Re: web request
VB Code:
myWebClient.DownloadFile("http://yourserver/placefileisin/filename.fil", _
Application.StartupPath & "\filename.fil")
will download the file to the directory where the program is. To store it in a specific location change the Application.StartupPath to where ever you want to download it to (eg "C:\temp\filename.fil"
-
Nov 8th, 2006, 06:53 AM
#3
Thread Starter
Member
Re: web request
It will be not work. The request contains parameters. If I tried
download method to output file does not download but simple
html.
If I put this address to IE he ask 'save file?' - the file will be
download and on web page included just simple informations about
this file. I want file not html page with infos...
Best regards,
Maciej
-
Nov 8th, 2006, 01:07 PM
#4
Thread Starter
Member
Re: web request
Looks my foult Aidygus!
I add bad parameters and method works fine.
Sorry
and thanks for response,
Maciej
-
Nov 8th, 2006, 02:06 PM
#5
Thread Starter
Member
Re: web request
Looks my foult Aidygus!
I add bad parameters and method now works fine.
Sorry
and thanks for response,
Maciej
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|