Re: [twsocket] FTP Client - Large files

2012-12-05 Thread Angus Robertson - Magenta Systems Ltd
> Not sure if this tells us more about the end of the transfer though. The only thing it shows is the FTP session left unfinished, because your application does not abort the upload on a timeout, after x seconds of inactivity. You update your timer from the OnProgress64 event. Now repeat the l

Re: [twsocket] FTP Client - Large files

2012-12-05 Thread RTT
I have put some more log files on the website: www.deephaven.co.uk/downloads/ftpuplog.zip Two files "pass" (small file) and "fail" (large file) contain more logging info. Not sure if this tells us more about the end of the transfer though. Maybe what you need to do is to keep the control ch

Re: [twsocket] FTP Client - Large files

2012-12-05 Thread Graham Powell
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 04 December 2012 17:33 To: twsocket@elists.org Subject: Re: [twsocket] FTP Client - Large files > I have the OnFtpStateChange producing messages which I can add to my

Re: [twsocket] FTP Client - Large files

2012-12-04 Thread Angus Robertson - Magenta Systems Ltd
> I have the OnFtpStateChange producing messages which I can add to > my history log, but is there a way of adding these messages into > the ICS logger? IcsLogger.DoDebugLog(Self, LogOption, Msg); Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists

Re: [twsocket] FTP Client - Large files

2012-12-04 Thread Graham Powell
Systems Ltd Sent: 04 December 2012 15:52 To: twsocket@elists.org Subject: Re: [twsocket] FTP Client - Large files > How do I log what is being sent? I have everything ticked in the ICS > logger. The ICS logger is really designed for low level packet logging, although I wrote it a long time

Re: [twsocket] FTP Client - Large files

2012-12-04 Thread Angus Robertson - Magenta Systems Ltd
> How do I log what is being sent? I have everything ticked in the > ICS logger. The ICS logger is really designed for low level packet logging, although I wrote it a long time ago, I rarely use it since the low level stuff just works. MagentaFtp3.pas shows how logging is done, from the events:

Re: [twsocket] FTP Client - Large files

2012-12-04 Thread Graham Powell
...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 29 November 2012 17:47 To: twsocket@elists.org Subject: Re: [twsocket] FTP Client - Large files > Files can be found here: You are not currently logging any commands sent by the FTP compon

Re: [twsocket] FTP Client - Large files

2012-11-29 Thread Angus Robertson - Magenta Systems Ltd
> Files can be found here: You are not currently logging any commands sent by the FTP component which is normally quite useful. You are not sending the FEAT command which might hint as to which FTP server is at fault, use ConnectFeatAsync instead of ConnectAsync. In the first log, you seem to

Re: [twsocket] FTP Client - Large files

2012-11-29 Thread Graham Powell
2012 18:51 To: twsocket@elists.org Subject: Re: [twsocket] FTP Client - Large files > Filezilla seems to handle with a no response timeout, followed by a > query, some times even a reconnect, to check if the file is > effectively there, and with the correct size. Similar feature

Re: [twsocket] FTP Client - Large files

2012-11-29 Thread Angus Robertson - Magenta Systems Ltd
> Attached is a zipped up text file obtained from the ICS logger The mailing list automatically drops file attachments since they are of no interest to 99% of recipients. You need to email directly to me or post a link to a download. Angus -- To unsubscribe or change your settings for TWSock

Re: [twsocket] FTP Client - Large files

2012-11-29 Thread Graham Powell
Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 28 November 2012 18:51 To: twsocket@elists.org Subject: Re: [twsocket] FTP Client - Large files > Filezilla seems to handle with a no response timeout, followed by a > query, some times even a reconnect, to check if the file is > ef

Re: [twsocket] FTP Client - Large files

2012-11-29 Thread Graham Powell
Robertson - Magenta Systems Ltd Sent: 28 November 2012 18:51 To: twsocket@elists.org Subject: Re: [twsocket] FTP Client - Large files > Filezilla seems to handle with a no response timeout, followed by a > query, some times even a reconnect, to check if the file is > effectively there,

Re: [twsocket] FTP Client - Large files

2012-11-28 Thread Angus Robertson - Magenta Systems Ltd
> Filezilla seems to handle with a no response timeout, followed by a > query, some times even a reconnect, to check if the file is > effectively there, and with the correct size. Similar features are the benefit of using the TMagFtp high level component. It also checks the correct sized file

Re: [twsocket] FTP Client - Large files

2012-11-28 Thread RTT
On 28-11-2012 08:51, Graham Powell wrote: 1: Can the FTP client be modified to generate the ftpPutAsync event on something else as well as the Transfer Complete. Wireshark always shows some message at the end that contains FIN ACK. Sometimes, when I'm updating my web site using Filezilla, and s

Re: [twsocket] FTP Client - Large files

2012-11-28 Thread Arno Garrels
- Original Message - From: "Angus Robertson - Magenta Systems Ltd" To: Sent: Wednesday, November 28, 2012 11:36 AM Subject: Re: [twsocket] FTP Client - Large files >> It would appear that this FTP site does not send a "FTP 226 Transfer >> Complete"

Re: [twsocket] FTP Client - Large files

2012-11-28 Thread Angus Robertson - Magenta Systems Ltd
> It would appear that this FTP site does not send a "FTP 226 Transfer > Complete" for large files. So it's a faulty FTP server, not a problem with the FTP client. I've already asked what make of FTP software and am waiting for your response. You have not posted any FTP logs (the full FTP ses

Re: [twsocket] FTP Client - Large files

2012-11-28 Thread Graham Powell
to:twsocket-boun...@elists.org] On Behalf Of Arno Garrels Sent: 27 November 2012 19:22 To: ICS support mailing Subject: Re: [twsocket] FTP Client - Large files Angus Robertson - Magenta Systems Ltd wrote: > Not sure why you using Wireshark, the FTP component has all the events > you need t

Re: [twsocket] FTP Client - Large files

2012-11-27 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: > Not sure why you using Wireshark, the FTP component has all the events > you need to log the FTP protocol, even without the logger component. I think he uses Wireshark because, and that makes sense, he wants to know whether or not the server response

Re: [twsocket] FTP Client - Large files

2012-11-27 Thread Angus Robertson - Magenta Systems Ltd
> My code is basically a state machine. In the FtpRequestDone event, > it decides what to do next. I used a similar state machine in another application, but prefer the sync calls for complex applications, and then use a thread per transfer. TMagFtp has been tested with 200 simultaneous download

Re: [twsocket] FTP Client - Large files

2012-11-27 Thread Graham Powell
t gets a response saying it's unnecessary. Graham -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 26 November 2012 18:31 To: twsocket@elists.org Subject: Re: [twsocket] FTP Client - Larg

Re: [twsocket] FTP Client - Large files

2012-11-26 Thread Angus Robertson - Magenta Systems Ltd
> My code just does putAsync and waits for the ftpPutAsync event. > I don't know exactly how the xferdemo3w does it You have all the source code for TMagFtp, so you can easily check. There are probably two main differences: 1 - TMagFtp uses the sync FTP calls and WaitUntilReady, so check that f

Re: [twsocket] FTP Client - Large files

2012-11-26 Thread Arno Garrels
Graham Powell wrote: > The OverbyteIcsFtpTst demo suffers from the same problem. No > ftpPutAsync event generated at the end of the transfer. Interesting, Angus should know how he tweaks the ICS component to make them working. -- Arno -- To unsubscribe or change your settings for TWSocket maili

Re: [twsocket] FTP Client - Large files

2012-11-26 Thread Graham Powell
mailing Subject: Re: [twsocket] FTP Client - Large files Graham Powell wrote: > I have tried Passive, Active, ASCII and Binary modes - no difference. Have you tried with the OverbyteIcsFtpTst demo yet? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please g

Re: [twsocket] FTP Client - Large files

2012-11-26 Thread Arno Garrels
Graham Powell wrote: > I have tried Passive, Active, ASCII and Binary modes - no difference. Have you tried with the OverbyteIcsFtpTst demo yet? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/tws

Re: [twsocket] FTP Client - Large files

2012-11-26 Thread Graham Powell
- no difference. Graham -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 24 November 2012 14:05 To: twsocket@elists.org Subject: Re: [twsocket] FTP Client - Large files > *** So the duff FT

Re: [twsocket] FTP Client - Large files

2012-11-24 Thread Angus Robertson - Magenta Systems Ltd
> *** So the duff FTP site will accept the upload of the file, but > for some reason the FTP client does not generate any event > (FTPRequestDone) at the end of the upload. And yet you said earlier that the TMagFtp component works correctly, presumably with the same bad FTP server and ICS version

Re: [twsocket] FTP Client - Large files

2012-11-24 Thread François Piette
> As I said in a previous e-mail. I am testing with 3 FTP sites. It appear only one of them has this problem. This probably means the problem is at the server side. Please try with another FTP client, for example windows own command line FTP client. Use the same file and do that from the same comp

Re: [twsocket] FTP Client - Large files

2012-11-24 Thread Arno Garrels
Graham Powell wrote: > 12:52:37:143 03B6F9B0 TCustomWSocket.Shutdown 1 1824 > 12:52:37:196 >|226 File receive OK.| *** THIS IS MISSING IN THE > OTHER FTP UPLOAD *** http://www.ncftp.com/ncftpd/doc/misc/ftp_and_firewalls.html#FirewallTimeouts Comes to mind, however I wonder why it happens only wi

Re: [twsocket] FTP Client - Large files

2012-11-24 Thread Graham Powell
s.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 23 November 2012 16:37 To: twsocket@elists.org Subject: Re: [twsocket] FTP Client - Large files > I made a typo with the file size. It is 84Mbytes (not 84GBytes) that > fails. 39MByte file is OK Those are trivial sizes for

Re: [twsocket] FTP Client - Large files

2012-11-23 Thread Angus Robertson - Magenta Systems Ltd
> I made a typo with the file size. It is 84Mbytes (not 84GBytes) > that fails. 39MByte file is OK Those are trivial sizes for FTP uploads, no reason for difference in behaviour between those sizes. Is this file specific? What about 100 or 200 megs? When I was downloading a VHD (disk image)

Re: [twsocket] FTP Client - Large files

2012-11-23 Thread Graham Powell
ocket@elists.org Subject: Re: [twsocket] FTP Client - Large files > Is the a limit to the size of file I can PutAsync? No limits in recent versions of ICS that use int64. > I am trying to upload a large file (84GBytes) to a FTP site. The file > seems to transfer OK, but there is nothing

Re: [twsocket] FTP Client - Large files

2012-11-23 Thread Angus Robertson - Magenta Systems Ltd
> Is the a limit to the size of file I can PutAsync? No limits in recent versions of ICS that use int64. > I am trying to upload a large file (84GBytes) to a FTP site. The > file seems > to transfer OK, but there is nothing to signal the transfer is > complete. No ftpPutAsync and no ftpError

Re: [twsocket] FTP Client - Large files

2012-11-23 Thread Graham Powell
Is the a limit to the size of file I can PutAsync? I am trying to upload a large file (84GBytes) to a FTP site. The file seems to transfer OK, but there is nothing to signal the transfer is complete. No ftpPutAsync and no ftpError event. Smaller files are OK. Graham -- To unsubscribe or chang