?
Solved

Post problem

Posted on 2001-08-09
1
Medium Priority
?
260 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
sundayboys earned 700 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

770 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