| olivier HARO 2004-10-19, 7:50 am |
| If thing you have not understood my problem
I want to download a document based on my web server, that's why I use
wget... (popen doesn't understand http urls, Am I wrong?)
The problem is that when I use the system(wget http://xxxxxxx.com), the C
program doesnt't wait the end of the system() function so that it implies
bugs.....
Is there any wait to download a http document in C language by an other way?
Is there a solution to my problem?
thanks! ;)
"Robert Harris" <robertdotfdotharris@blueyonder.co.uk> a écrit dans le
message de news:KeSbd.90226$BI5.34579@fe2.news.blueyonder.co.uk...[vbcol=seagreen]
> olivier HARO wrote:
me[vbcol=seagreen]
caracters[vbcol=seagreen]
or[vbcol=seagreen]
> Well, wget and system certainly work. (what does system return?)
>
> In any case, if you want the document itself (and not just the return
> code), you need to call popen(3) instead.
>
> Robert
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
|