Re: [twsocket] FTP Error 426

2012-04-18 Thread Arno Garrels
Matt Minnis wrote: I am getting a spurious error 426 (426 Operation aborted.) when I run my program automated to upload files to a ftp site. When I do the exact same steps manually in same exe, it works fine. Error Listed below from my own logs. Please try to reproduce the issue with latest

Re: [twsocket] FTP Error 426

2012-04-18 Thread Matt Minnis
Tried latest snapshot, no dice still :( I was on the latest stable release which is significantly older, so I had hopes that this might do it. Ignoring the error and attempting to plow on doesn't work either. Matt -Original Message- From: twsocket-boun...@elists.org

Re: [twsocket] TWSocket Digest, Vol 472, Issue 1

2012-04-18 Thread Jon Burnham
Hi Arno You're a star. Thank you so much :-) Kind regards Jon -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of twsocket-requ...@elists.org Sent: 18 April 2012 13:00 To: twsocket@elists.org Subject: TWSocket Digest, Vol 472, Issue 1

Re: [twsocket] FTP Error 426

2012-04-18 Thread Arno Garrels
Matt Minnis wrote: 16:05:56: FTP: FtpClient1ReadyToTransmit: ftp Request PutAsync Done. ftp StatusCode = 150 ftp LastResponse was : '150 Opening BINARY mode data connection for 4071Ascend4.09.7z' ftp Error = 426 (426 Operation aborted.) 16:05:57: FTP Upload Process Canceled You

Re: [twsocket] FTP Error 426

2012-04-18 Thread Matt Minnis
Not intentionally. Here is the ICS Logger output for 2 attempt cycles (log below). Can see the Shutdown before the data sent. Does this help at all? Thanks, Matt 10:42:33:450 01E8D474 Socket handle created 964 10:42:33:499 TWSocket will connect to 206.196.105.44:21 10:42:33:580 01E8D474

Re: [twsocket] New ICS web browser demo

2012-04-18 Thread Angus Robertson - Magenta Systems Ltd
The web browser demo has been updated again. Arno has put a lot of effort into authentication and multipart/form-data file upload, and I've improved image download using a queue and a fixed number of static image download sessions (4) rather than downloading potentially dozens of images

[twsocket] Google protocol buffers

2012-04-18 Thread grafix4d
Hi all, I am new here, I would like to ask if there is any kind of Google protobuf implementation based on ICS. Thank you in advance. -- 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

Re: [twsocket] FTP Error 426

2012-04-18 Thread Arno Garrels
Matt Minnis wrote: Not intentionally. Here is the ICS Logger output for 2 attempt cycles (log below). Can see the Shutdown before the data sent. Does this help at all? No it doesn't since the log options do not include the loProtSpecxxx type of options, try something like:

Re: [twsocket] FTP Error 426

2012-04-18 Thread Angus Robertson - Magenta Systems Ltd
Here is the ICS Logger output for 2 attempt cycles (log below). Can see the Shutdown before the data sent. Does this help at all? Sorry, no. The ICS FTP component is very stable and widely used. Any issues with it are likely to be your implementation, or circumstances unconnected with your

Re: [twsocket] FTP Error 426

2012-04-18 Thread Matt Minnis
Here is the ICS log segment that applies with those options: 12:04:33:532 ! HighLevelAsync 0 12:04:33:546 ! HighLevelAsync done 12:04:33:579 01EFD47C TriggerDataSent 972 12:04:33:640 |200 Type set to I| 12:04:33:669 01EFD47C TriggerDataSent 972 12:04:33:744 |250 CWD command successful|

Re: [twsocket] FTP Error 426

2012-04-18 Thread Matt Minnis
Ok, let me try some different ones and see what happens. I know ICS is very stable, I have used it several times over the years, that's pretty much why I am using it. Thanks, Matt -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of

Re: [twsocket] FTP Error 426

2012-04-18 Thread Arno Garrels
Matt Minnis wrote: Here is the ICS log segment that applies with those options: OK, open your project and then OverbyteIcsFtpCli.pas in the editor. Add a breakpoint in: procedure TCustomFtpCli.AbortAsync; {var bFlag : Boolean; } { 2.106 } begin

Re: [twsocket] FTP Error 426

2012-04-18 Thread Matt Minnis
Call stack: TCustomFtpCli.AbortAsync TCustomFtpCli.Progress TFtpClient.Progress TCustomFtpCli.DataSocketPutDataSent(???,0) TCustomWSocket.TriggerDataSent(0) TCustomWSocket.Do_FD_WRITE(???) TCustomWSocket.WMASyncSelect((1038, 1072, 2, 36, 1072, 0, 2, 0, 36, 0)) TCustomWSocket.WndProc(???)

Re: [twsocket] FTP Error 426

2012-04-18 Thread Arno Garrels
Matt Minnis wrote: Call stack: TCustomFtpCli.AbortAsync TCustomFtpCli.Progress Check your OnProgress or OnProgess64 event handler. It must set var Abort to true. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] FTP Error 426

2012-04-18 Thread Arno Garrels
Arno Garrels wrote: Matt Minnis wrote: Call stack: TCustomFtpCli.AbortAsync TCustomFtpCli.Progress Check your OnProgress or OnProgess64 event handler. It must set var Abort to true. It should not, however obviously it does. -- Arno -- To unsubscribe or change your settings for

Re: [twsocket] FTP Error 426

2012-04-18 Thread Matt Minnis
You guys rock! Thanks Arno Angus! Apparently when running automated, some event tripped one of my exception handler's which set a form variable to true UploadFrm.FCanceled In beginning of OnProgress handler I check for this and set abort to true. Before initiating the FTP upload I reset this