Re: [twsocket] Using the FTP Client

2011-01-28 Thread Francois PIETTE
- From: "Graham Powell" To: "'ICS support mailing'" Sent: Friday, January 28, 2011 1:10 PM Subject: Re: [twsocket] Using the FTP Client Maybe "background loop" is the wrong term. I have a timer generating an event every 50mS. This routine processes t

Re: [twsocket] Using the FTP Client

2011-01-28 Thread Angus Robertson - Magenta Systems Ltd
> Maybe "background loop" is the wrong term. I have a timer > generating anevent every 50mS. This routine processes the data from > the USB and FTP. 50ms is virtually a continuous loop, it's very short. I'd make it 500ms and see if application performance improves. Or use a thread and create an

Re: [twsocket] Using the FTP Client

2011-01-28 Thread Graham Powell
28 January 2011 09:42 To: ICS support mailing Subject: Re: [twsocket] Using the FTP Client >> While the FTP data is being processed, the USB is continually >> monitored and FTP processing is interrupted to service the USB. > > Reading that rings the bell in my head ! > If you

Re: [twsocket] Using the FTP Client

2011-01-28 Thread Francois PIETTE
While the FTP data is being processed, the USB is continually monitored and FTP processing is interrupted to service the USB. Reading that rings the bell in my head ! If you are using polling, then this is bad design. Use two separate threads to handle USB and to handle FTP. Each thread should

Re: [twsocket] Using the FTP Client

2011-01-28 Thread Graham Powell
Francois PIETTE Sent: 27 January 2011 20:48 To: ICS support mailing Subject: Re: [twsocket] Using the FTP Client > While the FTP data is being processed, the USB is continually > monitored and FTP processing is interrupted to service the USB. Reading that rings the bell in my head ! If y

Re: [twsocket] Using the FTP Client

2011-01-27 Thread Francois PIETTE
While the FTP data is being processed, the USB is continually monitored and FTP processing is interrupted to service the USB. Reading that rings the bell in my head ! If you are using polling, then this is bad design. Use two separate threads to handle USB and to handle FTP. Each thread should

Re: [twsocket] Using the FTP Client

2011-01-27 Thread Angus Robertson - Magenta Systems Ltd
> It is all one application. While having one application is very convenient, is there not some way to decouple the two different tasks into separate applications, perhaps with a socket being used for communication, or maybe just shared memory? This would remove any possible thread synchronise i

Re: [twsocket] Using the FTP Client

2011-01-27 Thread Graham Powell
hardware. I also have my own iNEWS server. Graham -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 27 January 2011 16:16 To: twsocket@elists.org Subject: Re: [twsocket] Using the FTP Client >

Re: [twsocket] Using the FTP Client

2011-01-27 Thread Anton S.
Maybe you'd try to extract USB interaction into separate thread and assign to it a higher priority? -- Anton -- 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] Using the FTP Client

2011-01-27 Thread Angus Robertson - Magenta Systems Ltd
> It is only when the FTP is getting data that it can go pear shaped. > While the FTP data is being processed, the USB is continually > monitored and FTP processing is interrupted to service the USB. Are FTP and USB servicing running as separate applications? FTP is presumably writing a simple

Re: [twsocket] Using the FTP Client

2011-01-27 Thread Graham Powell
and get some ICS logging files to compare. Graham -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 27 January 2011 14:31 To: twsocket@elists.org Subject: Re: [twsocket] Using the FTP Cli

Re: [twsocket] Using the FTP Client

2011-01-27 Thread Angus Robertson - Magenta Systems Ltd
> somehow the application can at times no longer get data from the USB > quick enough. Disk I/O in Windows can be blocking, you normally only see it with bad disk sectors when the event log shows lots of errors in red when it times out waiting for a response from the drive. If this is the sort o

Re: [twsocket] Using the FTP Client

2011-01-27 Thread Graham Powell
13:24 To: twsocket@elists.org Subject: Re: [twsocket] Using the FTP Client >Is it possible that the FTP transactions can, for whatever network >reasons, hog the CPU resources so that my application cannot get access to the USB data? Is it possible to completely turn off all FTP exchanges a

Re: [twsocket] Using the FTP Client

2011-01-27 Thread Anton S.
>Is it possible that the FTP transactions can, for whatever network reasons, hog the CPU resources so that my application cannot get access to the USB data? Is it possible to completely turn off all FTP exchanges and try only with USB? You may also check CPU usage during FTP sessions. -- Anton -

Re: [twsocket] Using the ftp-client

2006-05-09 Thread Bjørnar Nielsen
> Have you specified a filename for local and remote ? Thanks, I missed that part, I had just set the name for local. Now it works. Regards Bjørnar -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website

Re: [twsocket] Using the ftp-client

2006-05-09 Thread Francois Piette
> I want to conect and upload a file and quit, and found the > Transfer-prcedure. All seems fine, I get logged in and the password is > correct, but I get the following error-message when sending the file: > "< 500 'STOR' not understood" > > Is this a known problem? Have you specified a filename