Hello everyone:
I write a FTP upload application by use TFtpClient, I tested some FTP
Servers, it works well, but when I upload file to NcFTPd Server in binary
mode, my files been changed, I checked file in HEX, to discover $0D and
$0D$0A changed to $0A, I used OverbyteIcsFtpTst.exe to test the
Hello Bruce Zhao,
Setting property Binary is not enough! You have to issue
method/command TypeSet(Async) as well to change mode to
binary mode. Alternatively you may forget the property and
call method TypeBinary(Async) instead which does it both,
sets property Binary to TRUE and calls method
robertoschler wrote:
I have a server socket application that uses TWSocketServer. When
clients disconnect, I do get see a SessionClosed event triggered for
the client socket and then the TWSocketServer ClientDisconnect event
handler fires. However, the ClientCount does not go down, and keeps
I'm not working with v7, but here I leave a diff file. Not
sufficiently tested , so let me know if you find something not
working properly.
Many thanks for the code, I'll test it on Monday.
With one bug fix to reset the stream to the start, your code worked fine
thanks.
However,
To all subscribers:
1) Please do not use HTML or RTF messages in the list. Use only plain/text
messages (by default Outlook uses HTML ! You must change the setting).
When replying, be sure to use plain/text. If someone email to list
accidently NOT in plain text and if you reply to it,
I have an application dealing with GPRS connections, and there is a lot of
connections/disconnections going all the time.
The remote client connect to the server then send the authentication data.
Sometimes there are bad connections and the remote client connects but the
data never reach the
I'm trying to get the IE proxy settings using WinHttp
in the sample, WinHttpGetIEProxyConfigForCurrentUser works as expected, but
WinHttpGetProxyForUrl always fails with errocode 87
(ERROR_INVALID_PARAMETER)
The call WinHttpGetProxyForUrl is neccesary with pac/wpad scripts
Anyone has an idea
Hi Angus,
With one bug fix to reset the stream to the start, your code worked fine
thanks.
Don't know if this is really a bug, or if the need to reset it
correspond to a not standard way to deal with streams by the HTTPServer
component.
In order to enhance the AnswerStream
Just to post some enhancements to my early proposed changes.
if not Assigned(FDocStream) then
PutStringInSendBuffer('Content-Length: 0' + #13#10)
else begin
if hoContentEncoding in FServer.Options then
Thank you very much!!
Bruce
2009/6/17 Arno Garrels arno.garr...@gmx.de
Hello Bruce Zhao,
Setting property Binary is not enough! You have to issue
method/command TypeSet(Async) as well to change mode to
binary mode. Alternatively you may forget the property and
call method
10 matches
Mail list logo