Re: [twsocket] ipchange / put resume
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, from the SSL download page. It is extensively tested. 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). thanks roland -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ipchange / put resume
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 Francois where you agree to donate to the SSL project and the amount, and I'll then send you the component. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bandwidth control
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 upload algorithm has a bug because my test file is not completely uploaded :(, but the download is great. David - Original Message - From: Dan [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, August 21, 2005 9:13 PM Subject: Re: [twsocket] Bandwidth control http://www.xantorrent.pwp.blueyonder.co.uk/ics/ThrottledWSocket.zip Has ThrottledWSocket and ThrottledFTPSrv. Should be easy to do the same for HTTP. Dan - Original Message - From: David A. G. [EMAIL PROTECTED] To: twsocket@elists.org Sent: Sunday, August 21, 2005 11:42 PM Subject: [twsocket] Bandwidth control Hello, I'm finding an example of how to control the bandwidth in HTTP and FTP server, any one has? thanks in advance, David -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] GetPeerName
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 window and use NETSTAT I see the expected port (i.e. the one I asked to connect to) Is this a known issue? Regards Dr John M Porteous Chemigraphic LtdTele: 01293 543517 (office) The Fleming Centre Tele: 01293 843385 (DDI) Fleming Way Fax: 01293 552859 Crawley Mobile: 07802 402 226 RH10 9NFEmail: [EMAIL PROTECTED] -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Using TTnEmulVT
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 colours (sorry colors). There appear to be several places you can change both the font and brush color - but if you do this in the form show event you still revert to white characters on black; 3) Is there a re-sizeable font option we haven't found yet? Or do we have to manually change the font size as the overall screen image changes? Regards Dr John M Porteous Chemigraphic LtdTele: 01293 543517 (office) The Fleming Centre Tele: 01293 843385 (DDI) Fleming Way Fax: 01293 552859 Crawley Mobile: 07802 402 226 RH10 9NFEmail: [EMAIL PROTECTED] -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Connect timeout on deleted object
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 client object had never been deleted. I get access violations. Has anybody experiences similar problems? And have you got solutions? Regards Jan -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] GetPeerName
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 then it cannot listen anymore because ip+port has to be exclusive. The listening port on the server is the port where the client connects to, the local port on the server is the port where the connection is on once it is accepted. --- Rgds, Wilfried http://www.mestdagh.biz Monday, August 22, 2005, 14:23, Dr John M Porteous wrote: 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 window and use NETSTAT I see the expected port (i.e. the one I asked to connect to) Is this a known issue? Regards Dr John M Porteous Chemigraphic Ltd Tele: 01293 543517 (office) The Fleming CentreTele: 01293 843385 (DDI) Fleming Way Fax: 01293 552859 Crawley Mobile: 07802 402 226 RH10 9NF Email: [EMAIL PROTECTED] -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Connect timeout on deleted object
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 call the sync or async Abort to not have more progblems :( --- Rgds, Wilfried http://www.mestdagh.biz Monday, August 22, 2005, 16:27, Jan Schatz wrote: 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 client object had never been deleted. I get access violations. Has anybody experiences similar problems? And have you got solutions? Regards Jan -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Connect timeout on deleted object
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 client object had never been deleted. I get access violations. Has anybody experiences similar problems? And have you got solutions? Use OnCloseQuery event to cancel the closing or abort the component. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Using TTnEmulVT
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 you talking about Delphi2005.Win32 ? If yes, then it is the same version as Delphi7 and all others. As far as I remember. 2) Is it possible to change the default screen colours (sorry colors). There appear to be several places you can change both the font and brush color - but if you do this in the form show event you still revert to white characters on black; Long time I haven't looked at TEmulVT source code. There is probably a constant somewhere with this value. I don't think there is a published property. 3) Is there a re-sizeable font option we haven't found yet? Or do we have to manually change the font size as the overall screen image changes? Look at the options form source code and see how it handle font selection. You have to use the resize event to change dynamically the font. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bandwidth control
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, David - Original Message - From: Dan [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 22, 2005 8:32 AM Subject: Re: [twsocket] Bandwidth control 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 upload algorithm has a bug because my test file is not completely uploaded :(, but the download is great. David - Original Message - From: Dan [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, August 21, 2005 9:13 PM Subject: Re: [twsocket] Bandwidth control http://www.xantorrent.pwp.blueyonder.co.uk/ics/ThrottledWSocket.zip Has ThrottledWSocket and ThrottledFTPSrv. Should be easy to do the same for HTTP. Dan - Original Message - From: David A. G. [EMAIL PROTECTED] To: twsocket@elists.org Sent: Sunday, August 21, 2005 11:42 PM Subject: [twsocket] Bandwidth control Hello, I'm finding an example of how to control the bandwidth in HTTP and FTP server, any one has? thanks in advance, David -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bandwidth control
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 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, David - Original Message - From: Dan [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 22, 2005 8:32 AM Subject: Re: [twsocket] Bandwidth control 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 upload algorithm has a bug because my test file is not completely uploaded :(, but the download is great. David - Original Message - From: Dan [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, August 21, 2005 9:13 PM Subject: Re: [twsocket] Bandwidth control http://www.xantorrent.pwp.blueyonder.co.uk/ics/ThrottledWSocket.zip Has ThrottledWSocket and ThrottledFTPSrv. Should be easy to do the same for HTTP. Dan - Original Message - From: David A. G. [EMAIL PROTECTED] To: twsocket@elists.org Sent: Sunday, August 21, 2005 11:42 PM Subject: [twsocket] Bandwidth control Hello, I'm finding an example of how to control the bandwidth in HTTP and FTP server, any one has? thanks in advance, David -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be