[twsocket] Installing ICS under windows 3.11

2005-08-15 Thread Carl Hendry
Please help: I need to establish a program to program connection between two computers; one running windows XP, the other running Windows 3.11. I have Delphi 7 on the XP and Delphi 1 on the 3.11. I was going to install the ICS suite on the 3.11, but ICS uses long filenames which are not legal

Re: [twsocket] Installing ICS under windows 3.11

2005-08-15 Thread Merijn Terheggen
If you can compile C++, you could check if you can use something out of the ptypes library. Since you only need communication and not all the overhead... How about setting up the communication thru SOAP? There *should* be a DOS implementation of SOAP out there somewhere... (perl on DOS? perl can

Re: [twsocket] Twsocketserver

2005-08-15 Thread Wilfried Mestdagh
Hello Igor, My TCP communication isn't line oriented. Then how are is the data constructed ? If it has no END character, then there must be something else like: - a count byte/word/dword - fixed size - a byte with the type of packet - ... --- Rgds, Wilfried http://www.mestdagh.biz Monday,

Re: [twsocket] HttpCli content encoding

2005-08-15 Thread Francois PIETTE
Thank Francois for your answer. I hope other people will partecipate to this discussion. Me too ! a) Isn't it possible to defer call to THttpContentCoding.GetCoding until it is really needed so that exceptions are raise at that time ? I made some changes, now the GetCoding is called only

[twsocket] HttpCli: Opinion wanted !

2005-08-15 Thread Francois PIETTE
Please read the messages with subject [twsocket] HttpCli content encoding. We (Maurizio and I at least) would like to have your opinion about the future version of the HTTP component. There are implementation details that has to be choozen. We need input from you, the users ! If you don't

Re: [twsocket] Installing ICS under windows 3.11

2005-08-15 Thread Francois PIETTE
I need to establish a program to program connection between two computers; one running windows XP, the other running Windows 3.11. I have Delphi 7 on the XP and Delphi 1 on the 3.11. I was going to install the ICS suite on the 3.11, but ICS uses long filenames which are not legal in 3.11.

[twsocket] exception handling

2005-08-15 Thread Roland Frei
hi how can i globaly hanlde ftpserver execptions ? i understand how to make it on a client side but i am confused how to do it on a server. thank for helping roland -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket

[twsocket] [FTPCli] - Date and Time of file modification

2005-08-15 Thread Artem Antonov
Hello! I have question concerned getting time modification of file from FTP Server. When I get list of files (ExecuteCmd(FtpClient.Dir, FtpClient.DirAsync)) from Linux (SuSe) FTP server, I get wrong time modification (for example, file was modified in 14:50, but I get 12:18). From Windows

Re: [twsocket] exception handling

2005-08-15 Thread Arno Garrels
Roland Frei wrote: hi how can i globaly hanlde ftpserver execptions ? Generaly use a global exception handler for all unhandled exceptions only. You should handle exceptions locally where they are being raised. This not only applies to ICS but also generally to all Delphi applications. Arno

Re: [twsocket] exception handling

2005-08-15 Thread Francois PIETTE
how can i globaly hanlde ftpserver execptions ? i understand how to make it on a client side but i am confused how to do it on a server. Not sure I understand what exceptions you mean. Anyway, have you tryed with Application.OnException ? -- Contribute to the SSL Effort. Visit

Re: [twsocket] [FTPCli] - Date and Time of file modification

2005-08-15 Thread Francois PIETTE
Is it bug of FTPCli or it's depend only from FTP server? The list of files is built by the server _only_. The client has no impact on what the server returns. The directory list is seen as a text file from the client. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message -

Re: [twsocket] exception handling OK

2005-08-15 Thread Roland Frei
if found how to do it by google: http://www.chami.com/tips/delphi/011497D.html thx all On Mon, 15 Aug 2005 13:57:25 +0200, Arno Garrels [EMAIL PROTECTED] wrote: Roland Frei wrote: hi how can i globaly hanlde ftpserver execptions ? Generaly use a global exception handler for all unhandled

[twsocket] [FTPCli] - Setting File Attributes

2005-08-15 Thread Artem Antonov
Hello! How I can set file atributes (-rw-rw-rw- for example)? Should I use Quote method to send literal command to FTP server or there is another way? Thanks! Best regards, Artem Antonov. -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] [FTPCli] - Setting File Attributes

2005-08-15 Thread Francois PIETTE
How I can set file atributes (-rw-rw-rw- for example)? Should I use Quote method to send literal command to FTP server or there is another way? Quote is the way to go. FTP protocol has no provision to set attributes, your rely only on platform and server specific commands to be executed using

Re: [twsocket] Twsocketserver

2005-08-15 Thread Igor Pokorny
Well, I would like to thank to all of you tried to help me. I have found the way how to manage a buffer in TWSchat1.pas (Thank you, Francois). BTW I would prefer to use Linemode too but I am not allowed to write TCP client by myself, it's a part of delivered software. FYI, every packet i obtain

Re: [twsocket] Twsocketserver

2005-08-15 Thread Francois PIETTE
I consider it should be best solution to wait for full record in OnDataAvailable procedure, to do a new record and send some USER message. Am I right? I think so. Remember that you may receive all or part of the data that follow the header and possibly also the next header. Be careful when

Re: [twsocket] Twsocketserver

2005-08-15 Thread Wilfried Mestdagh
Hello Igor, Make a record with same structure in your receiver. Give it the same address as the pointer where you receive data to (with a ReadPtr and WritePtr). Set a flag if you have recieved = 8 bytes, then you know the length to receive. Allocate enough memory and reallocate if nececary, leve

Re: [twsocket] Twsocketserver

2005-08-15 Thread brian
An example on how I do it: procedure TUser.SocketDataAvailable(Sender: TObject; Error: Word); Var a: Integer; abc,d: string; begin if ToRcv = 0 then // NEW PACKET INCLUDING HEADER begin NBuffer:= NBuffer + NSocket.ReceiveStr; AnalyzePacket; end else begin if