Solved

Post problem

Posted on 2001-08-09
1
254 Views
Last Modified: 2010-04-06
hi
I use the TNMHTTP componnent to get and post
the get work good
I try to do post and it is not working
can some one give me example

I need to write file into servlet , how can i do it
what is "put"
there any one better way to sent a lot of file into servlet i am using apache

thank
0
Comment
Question by:krelman
1 Comment
 
LVL 1

Accepted Solution

by:
sundayboys earned 175 total points
ID: 6367629
hi
this is example:
1.write a txt file,like this:
name=csdn&url=csdn.net&password=1232&helpid=id1234
2.in delphi:
NMHTTP1.InputFileMode:=False;
NMHTTP1.OutputFileMode:=True; //must is True;
NMHTTP1.ReportLevel:=Status_Basic;
NMHTTP1.Post('http://127.0.0.1/test.asp','tmp.txt');


TNMHTTP is not a good choice,try TWebBrowser component.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now