Re: [twsocket] TFTPClient...
What are the dataportrangeend and dataportrangestart properties in the TFTPClient component? I searched and could not find any description. I see them mentioned in a FAQ but no description. What I need to do is allow the user to specify a local port number. If I set both of the above properties to X will that fulfill the need? As you may already know, FTP is using TWO ports: one for commands and one for data. And for data, a FTP client act as a server : unless you select passive mode, a FTP client accept data connection from the FTP server. This poses a problem with multiple simultaneous FTP transfer. This is where the port range is involved. The FTP client component will use the port range - if specified - for accepting data connection. This is mandatory when you have a security product which restrict input connections. Whenever possible, it is better to use FTP passive mode in which the FTP client remains a client for everything, that is has only outgoing connections. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] ICS group on social networks LinkedIn and FaceBook
Hi ! Every ICS user is invited to be part of ICS-group on Linked-In. See http://www.linkedin.com/e/gis/136245 Why ? Just to have a little bit more visibility for everyone of us and for ICS. There is another one on FaceBook: http://www.facebook.com/pages/ICS-Internet-Component-Suite/39493622127 btw: You may also be part of Powered by Delphi group on Linked-In. http://www.linkedin.com/e/gis/48600 -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] ICS documentation
Hi ! As you probably know, we have a Wiki for ICS documentation: http://wiki.overbyte.be A wiki is a collaborative tool. We already have a few authors writing articles. Actually not that much ! If you have some spare time, please use it to write some article in the wiki. If each ICS user write only a single page, we will have tens of thousands pages ! No need to know everything. It is enough if you know ONE thing. Just write a page and you'll enter the hall of fames :-) To collaborate, just login onto the wiki and email me the usercode you selected. I will give you write permission. Thanks a lot. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] ICS registration
As you subscribed to ICS support mailing list, you probably use ICS. Good ! But have you taken time to register your ICS copy ? ICS is freeware but to use it, you must register it. Registration is very simple: just mail a [real, paper] picture postcard to the author (me). You can find instructions in readme.txt file. Thanks. PS: If you already sent your picture postcard, simply ignore this message. If you wants to know if I received it, then you must tell me when you sent it, from which country and what the picture is (I have several thousands postcards !). -- francois.pie...@overbyte.be The author for the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] TFTPClient...
Hello, What are the dataportrangeend and dataportrangestart properties in the... As you may already know, FTP is using TWO ports: one for commands and one for data. And for data, a FTP client act as a server : unless you select passive mode, a FTP client accept data connection from the FTP server. This poses a problem with multiple simultaneous FTP transfer. This is where the port range is involved. The FTP client component will use the port range - if specified - for accepting data connection. This is mandatory when you have a security product which restrict input connections. Whenever possible, it is better to use FTP passive mode in which the FTP client remains a client for everything, that is has only outgoing connections. Great answer. Thanks Francois. Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] TFTPClient...
Hello, I think this is my last question for TFTPClient. Is there a way to prevent the overwriting of the file if it exists on the server? Overwrite seems to be the default. Ciao, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] IPv6 branch updated with latest changes from trunk Rev. #631
Fastream Technologies wrote: Ok, somehow the packages got mixed and the defines were wrong. Anyway, can you try to compile the latest IPv6 package with NO_ADV_MT defined? It bombs in web server component! Thanks, it's fixed now and checked in. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Many TWSockets - how to update interface and respond to user actions ?
Hi, I try to use ICS v6 TWSocket in async non-blocking mode. (IDE C++Builder 2007) I build little App for testing and benchmarks. My app just send/receive data to server on second PC conneceted via 1 GB LAN and show some statistic on form. And I have a problem: on heavy load (100+ TWSockets) my test app responding to user actions very slowly (about 10 sec delay for pressing buttons, repainting labels etc) ! Usually I use Application-ProcessMessages in this case. But with TWSocket - I can't because ProcessMessages can be called only from some TWSocket events (OnRequestDone, OnResponce, etc) ! But it's will produce many problems in async mode ! So, how I can repaint App interface and respond to user actions ? Where to call Process Messages ? Or maybe I forgot to set some important TWSocket property ? --- With best regards, Max Terentiev. Business Software Products. AMS Development Team. supp...@bspdev.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Many TWSockets - how to update interface and respond touser actions ?
I try to use ICS v6 TWSocket in async non-blocking mode. (IDE C++Builder 2007) I build little App for testing and benchmarks. My app just send/receive data to server on second PC conneceted via 1 GB LAN and show some statistic on form. And I have a problem: on heavy load (100+ TWSockets) my test app responding to user actions very slowly (about 10 sec delay for pressing buttons, repainting labels etc) ! Usually I use Application-ProcessMessages in this case. But with TWSocket - I can't because ProcessMessages can be called only from some TWSocket events (OnRequestDone, OnResponce, etc) ! But it's will produce many problems in async mode ! So, how I can repaint App interface and respond to user actions ? Where to call Process Messages ? Or maybe I forgot to set some important TWSocket property ? Use a thread to put your communication stuff so that the main thread stay responsive for the user interface. Don't forget to create a message pump in your thread or no event will be handled. There are samples in the demos included with ICS. Don't forget to set multithread property to true. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] TFTPClient
Hello, Thanks for the answer. I might have put the question wrong. If the file exist on the server I do not want to overwrite the file. I want to abort the transfer. Is that possible? Or do I need to check if the file exists before TFTPClient.Tansmit? If I need to check first, what is the best method? Thanks, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Clarification of my previous question
Hi, After some investigation I have noticed that app slowdown happens only if I send large amount of data using TSmtpCli component. If I try to send large message (2-3 mb) - program hangs until message body sent. No matter how many TSmtpCli components running in parallel. Program hangs with single TStmpCli if message body is large. I use TSmtpCli (NOT sync version). It's some bug ? Or feature ? :-) --- With best regards, Max Terentiev. Business Software Products. AMS Development Team. supp...@bspdev.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] TFTPClient
Hello, I think the MLST command is the easiest for the purpose since it is used just for single file querying. Regards, SZ On Tue, Nov 23, 2010 at 11:16 PM, zayin za...@pdq.net wrote: Hello, Thanks for the answer. I might have put the question wrong. If the file exist on the server I do not want to overwrite the file. I want to abort the transfer. Is that possible? Or do I need to check if the file exists before TFTPClient.Tansmit? If I need to check first, what is the best method? Thanks, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Clarification of my previous question
Max Terentiev wrote: I try to use ICS v6 TWSocket in async non-blocking mode. (IDE C++Builder 2007) You realy should use v7, *v6 is obsolete*, it's not maintained since 2008. v7 is the successor of v6 and a move should be very easy. There are more than 600 changes and fixes since v6 in the svn repository. Get current source here: http://wiki.overbyte.be/wiki/index.php/ICS_Download Hi, After some investigation I have noticed that app slowdown happens only if I send large amount of data using TSmtpCli component. In v7 the send buffer size upon sending file attachments has been increased, this increased performance a lot, especially with SSL. However message text is still sent line by line. If I try to send large message (2-3 mb) - program hangs until message body sent. If that happens with a fast network connection (LAN) then it's a normal behavior in main, GUI thread since paint messages have less priority than messages actually posted to the message queue. Paint messages are processed only when there are no messages pending in the queue (on idle), that's why your GUI can freeze. In such cases you should move the SMTP task into a worker thread or use the new throttle feature (for an example have a look the FTP server and demo). If it happens with a slow network then I guess your AV or security software is responsible for the slow down and freeze. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be