What does a piece of Delphi code mean? I want to convert it to Java. Thank you, Delphi, Windows SDK, and API.
Http://www.delphi2007.net/DelphiNetwork/html/delphi_20061128102242242.html
The younger brother is made of Java, and now he wants to make a system transformation. Code
----------------------------------
Nmhttp1: tnmhttp;
...
...
...
Nmhttp1.proxy: = '';
Nmhttp1.proxyport: = 0;
// Nmhttp1.timeout: = 20;
Nmhttp1.disconnect;
Nmhttp1.post (URL, extractfilepath (application. exename) + 'data \ '+ edt_controlno.text +'. xml ');
----------------------------------
It seems that it is implemented to transfer a file from the Intranet to a server on the Internet. I want to use Java to explain the code. Thank you.
Online, urgent...
Pin it by yourself
Application. exename // indicates the currentProgramName (file name)
Extractfilepath (application. exename) // obtain the path of the program
Edt_controlno.text // is an input box
Possible result: C: \ temp \ data \ 007.xml
Nmhttp1 is a control for processing HTTP protocol
HTTP. Post ('HTTP: // www.csdn.net ', 'c: \ temp \ data \ 007. xml ');
You should be familiar with this.