Re: [twsocket] ipchange / put resume

2005-08-22 Thread Roland Frei
Hello i figure out tht my provider change my ip in the middle of the night. so uploadinging large files is a problem. i think i must work with put/resume. My TMagFtp component handles resumed uploads and downloads automatically, it's available free for contributors to the ICS SSL project,

Re: [twsocket] ipchange / put resume

2005-08-22 Thread Angus Robertson - Magenta Systems Ltd
thats great... i dont need ssl but if it solves my ftp problems, i am happy to become a contributor. i go to hollyday at the 25.8.05 and i shold fix my code before do you think i can have the TMagFtp code today (before francois receive the money). Please copy me in on your email to

Re: [twsocket] Bandwidth control

2005-08-22 Thread Dan
As in uploading to the ftp server? I'll look into it. Dan - Original Message - From: David A. G. [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 22, 2005 2:09 AM Subject: Re: [twsocket] Bandwidth control Dan, Thanks for your code, I think the

[twsocket] GetPeerName

2005-08-22 Thread Dr John M Porteous
I am using GetPeerName on an outgoing TXSocket to get/confirm the server details in the OnSessionConnected event. I am specifically connecting to a fixed address and a fixed port. The Address is returned correctly, however the port number (PeerName.sin_port) is never correct. If I open a DOS

[twsocket] Using TTnEmulVT

2005-08-22 Thread Dr John M Porteous
1) In the Delphi 2005 version GetScreenText appears to have been dropped? We have some projects that started with an earlier version which used it. Its easy enough to cut/paste in from a previous version, but it there a reason it was dropped? 2) Is it possible to change the default screen

[twsocket] Connect timeout on deleted object

2005-08-22 Thread Jan Schatz
Hello, I dynamically create an instance of TFtpClient and try to connect to a host using the synchronous method. Then The user closes my sub form and thus deletes the FTP client object. If the connection cannot be established, e.g. due to a false IP, my code runs on to handle this, as if the FTP

Re: [twsocket] GetPeerName

2005-08-22 Thread Wilfried Mestdagh
Hello John, If you connect to a server, then the server accept the connection into a local port which is different from the listening port. This is how winsock works, because the Listening port stay listening. this cannot be different because if the same port should be used for data transfer

Re: [twsocket] Connect timeout on deleted object

2005-08-22 Thread Wilfried Mestdagh
Hello Jan, I think you better use the async methods then you never will have sutch problems. If you use sync then you have to take all that into account because the code is looping whilst waiting for a result. If you want to stay sync then call the Abort method, but I dont know if you should

Re: [twsocket] Connect timeout on deleted object

2005-08-22 Thread Francois Piette
I dynamically create an instance of TFtpClient and try to connect to a host using the synchronous method. Then The user closes my sub form and thus deletes the FTP client object. If the connection cannot be established, e.g. due to a false IP, my code runs on to handle this, as if the FTP

Re: [twsocket] Using TTnEmulVT

2005-08-22 Thread Francois Piette
1) In the Delphi 2005 version GetScreenText appears to have been dropped? We have some projects that started with an earlier version which used it. Its easy enough to cut/paste in from a previous version, but it there a reason it was dropped? Only an error. But I'm not sure I understand. Are

Re: [twsocket] Bandwidth control

2005-08-22 Thread David A. G.
Dan, I tried to upload files into the server and all files was broken. I think the last chunk of data is not saved. In the other hand downloading files from the server is working good. If you have some new update please tell me, I was finding for this kind of code for a long time... thanks,

Re: [twsocket] Bandwidth control

2005-08-22 Thread Darin McGee
Here is another throttle for TWSocket http://www.smatters.com/ics/ Darin From: [EMAIL PROTECTED] on behalf of David A. G. Sent: Mon 8/22/2005 12:41 PM To: ICS support mailing Subject: Re: [twsocket] Bandwidth control Dan, I tried to upload files into the