[twsocket] ICS Sockets for sending receiving files

2018-09-08 Thread Allan Fernandes
Hi I want to use ICS Sockets to send/receive files but can't see any example. All examples are for Text.After working on developing my application with FTP and getting to production stage I get to know that AntiViruses hate FTP and they just throw my application out. Therefore I am looking at

[twsocket] Socket States

2018-02-05 Thread Allan Fernandes
Hi, Can I seggregate the Socket states such that  1)if all is well and workable then we are in either wsConnected or wsListening state. 2)After Close or Error etc and after timeout elapses we will go into wsClosed 3) All below states are temporary and will in a minute or so go into the

[twsocket] TWSocket Timeout Property ?

2018-01-29 Thread Allan Fernandes
Hi, If I try to connect my TWSocket and there is no socket listening on the other end then the TWSocket's state goes into wsConnecting for a long time. I want to reduce that Timeout. Which property should I use ? RegardsAllan -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] ICS Server disconnects on intensive testing

2017-09-30 Thread Allan Fernandes
Hi, Yes I am using the ICS TFTPServer. No SSL. ICS version 8.44 March. Delphi Seattle.Two physical Win7 machines with a VM in each effectively 4 machines.All sending files to a single machine in quick succession.After copy I am checking size and Renaming the file.Using TFtpClient in ASync mode.

[twsocket] Role of Error in Socket OnConnectedEvents

2017-08-10 Thread Allan Fernandes
Hi, In the ICS Socket components's OnSessionConnected / OnClientConnect events you are passing Error parameter. When will this get a value ?If the OnConnected events are triggered does it mean connection is active or is it only if Error=0 ? RegardsAllan Fernandes -- To unsubscribe or change

Re: [twsocket] Aborting a File Transfer from FtpServer

2017-07-11 Thread Allan Fernandes
Hi, Just wanted to know if there is a ready made option to stop a transfer midway. Now that you have cleared my doubts I will program accordingly. ThanksAllan From: Angus Robertson - Magenta Systems Ltd To: twsocket@lists.elists.org Sent: Tuesday, 11 July 2017 4:36

Re: [twsocket] Aborting a File Transfer from FtpServer

2017-07-11 Thread Allan Fernandes
My Program has a Client Side and a Server Side. I have taken care that the Client side can abort a file transfer. Now I wanted to provide Abort on the Server Side as well. or Is this not they way it is done ? From: Angus Robertson - Magenta Systems Ltd To:

[twsocket] Aborting a File Transfer from FtpServer

2017-07-11 Thread Allan Fernandes
Hi, What is the correct way of Aborting a File Transfer from TFtpServer ? RegardsAllan -- 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] Aborting PUT

2017-06-27 Thread Allan Fernandes
I was looking at TMagFtp and yes it does everything. But I have already done most of my modules in Async type coding. Only remaining is the Resume option. Thanks for the suggestion. Question: With TFtpClient to Resume transfer do I have to know the remote file size ? RegardsAllan From:

Re: [twsocket] Aborting PUT

2017-06-16 Thread Allan Fernandes
I have a backup application that I am revamping. You got me right, I am using both the Client and Server modules as my application is loaded on Source machine and Destination too. I get your point that I will have to work from the Client side majorly and not from the Server side.Thanks I will

Re: [twsocket] Aborting PUT

2017-06-15 Thread Allan Fernandes
From what I gather is that MagFTP is the Client Side. For client side I will refer your logic, Thanks. My requirement is for the Server Side. I can also pass the command from Client side to the Server to do the rename but I thought Server doing the Rename would be faster and would also help my

[twsocket] FtpServer Event for Receiving File

2017-06-14 Thread Allan Fernandes
Hi, When a File has been received at the Server end which is the event that will indicate that ? RegardsAllan -- 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] Want FtpClient to be able to pull files from any Drive

2017-06-13 Thread Allan Fernandes
Removing ftpsCdupHome took care of it. Thanks for the quick reply. Reduced much of my unnecessary work. From: Angus Robertson - Magenta Systems Ltd To: twsocket@lists.elists.org Sent: Tuesday, 13 June 2017 2:51 PM Subject: Re: [twsocket] Want FtpClient to be able

[twsocket] Want FtpClient to be able to pull files from any Drive

2017-06-13 Thread Allan Fernandes
Hi, I want to allow the FtpClient to be able to pull files from any Drive of the FtpServer machine. Issue is that I cannot go beyond my HomeDirectory. I have made 'Allowed := True' in 'OnChangeDirectory' Event in FtpServer. RegardsAllan -- To unsubscribe or change your settings for TWSocket

[twsocket] Recognising FTP Activity

2017-05-12 Thread Allan Fernandes
Is there a way to understand that File Transfer is actively taking place on FTP Client side eg: FtpClient.State / FtpClient.Connected ? -- 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

[twsocket] Can I send few text lines along with file FTP

2017-04-06 Thread Allan Fernandes
When I send a file via FTPClient I would like to send additional details (Text) so that FTPServer knows what he has to do with that file. How do I accomplish this ? -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Max FTP connections

2017-03-27 Thread Allan Fernandes
That is Perfect for me. Thanks for the Utility too. From: Angus Robertson - Magenta Systems Ltd To: twsocket@lists.elists.org Sent: Monday, 27 March 2017 3:35 PM Subject: Re: [twsocket] Max FTP connections > What can be the maximum number of FTP clients