Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Writing to an URL

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Writing to an URL
#2985
Posted by: lea 2003-11-26 17:20:47
I can get the inputstream, but what about the outputstream?
How can i write to an URL?

Thx.
Message2. Re: Writing to an URL
#2992
Posted by: upCASE 2003-11-27 00:53:18
Hi!
Not really sure if this is possible but try wxHTTP::SetHeader().

upcase
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: Writing to an URL
#2996
Posted by: 2003-11-27 10:26:01
You can't write to an url, it doesn't make any sense. Depending on what you mean you can send data along with a request if you use post instead of get. IIRC there's a PUT method also in http which is more likely what you're after, but I don't think you'll find many servers accepting it. Other than that there's FTP, etc. I think for all of these you'll have to contruct your own requests with sockets.
Message4. Re: Writing to an URL
#3007
Posted by: lea 2003-11-28 00:18:05
I want to post (post instead of get) data, so i must send the host of the url something.
Are there any tutorials out there?

Thx for your answers.
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sat 2023-2-4  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0