Re: [twsocket] FTP Client - Large files

2012-12-05 Thread Graham Powell
...@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 history log

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

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 component

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
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 ago, I rarely

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

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

Re: [twsocket] FTP Client - Large files

2012-11-29 Thread Graham Powell
] On 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 effectively

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

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 features are the benefit

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-28 Thread Graham Powell
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 to log the FTP protocol, even without the logger

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

Re: [twsocket] FTP Client - Large files

2012-11-28 Thread Arno Garrels
- Original Message - From: Angus Robertson - Magenta Systems Ltd an...@magsys.co.uk To: twsocket@elists.org 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 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

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-27 Thread Graham Powell
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 - Large files My code just does putAsync and waits for the ftpPutAsync event

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

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-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

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 goto

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

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

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 with

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

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-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

Re: [twsocket] FTP Client - Large files

2012-11-23 Thread Graham Powell
@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 to signal

Re: [twsocket] FTP Client - Unicode Filenames

2012-11-19 Thread Graham Powell
component. MAINICON ICON MagentaXferXE2Run_Icon.ico Regards Graham -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 19 November 2012 10:27 To: twsocket@elists.org Subject: Re: [twsocket] FTP

Re: [twsocket] FTP Client - Unicode Filenames

2012-11-19 Thread Angus Robertson - Magenta Systems Ltd
However I have now sort of fixed the problem. If I convert the filename to UTF8 The component does that, when working in Unicode. Remember that responses from the FTP server including directory listings will be UTF8 as well. You must still send the OPTS UTF8 ON command, otherwise the

Re: [twsocket] FTP Client - Unicode Filenames

2012-11-19 Thread Arno Garrels
Graham Powell wrote: I am currently testing with 3 FTP sites and none of them work with Unicode characters. The OPTS UTF8 ON returns unsupported. Well, OPTS UTF8 was always unoffical, what does the FEAT command return is much more important, in latest OverbyteIcsFtpTst demo I show how to

Re: [twsocket] Ftp client

2012-11-07 Thread Angus Robertson - Magenta Systems Ltd
I use TFtpClient to upload data to a FTP sites. It works if the FTP site has a hostname like ftp.yoursite.com But now I need to upload to a site with an IP address, which is ftp://196.211.60.155 Use the IP address alone instead of the hostname, ignore the ftp:// which is only intended for

Re: [twsocket] ftp-client and pureftp

2011-10-25 Thread Arno Garrels
Ruud Kerstens wrote: Hi, I am getting an error since I move my domain to another provider. I am using the Tftp-client to upload files to my website in specific folders. If I upload them with the client, I see that the size is about 7 to 10 in size smaller, It looks like you do not

Re: [twsocket] FTP client testing

2011-02-28 Thread Antol
Hello Angus, OK, I installed filezilla server to my local computer and uploaded files to it using LocalHost. ICS client worked in all modes (FTP, FTP AuthSSL, FTP AuthTLS and Implicit). So, there seems to be no problem with local file transfers. I think the problem may be with

Re: [twsocket] FTP client testing

2011-02-28 Thread Angus Robertson - Magenta Systems Ltd
Angus, I still want to try any distant FTP server to be sure that my ISP is not to blame. You don't need a login to test SSL, it works fine with anonymous, if downloading with SSL works, then uploading will work as well. Angus -- To unsubscribe or change your settings for

Re: [twsocket] FTP client testing

2011-02-28 Thread Antol
Hello Angus, No, when I try to upload anything from FAR or Filezilla, I get this: Response: 501 Permission Denied Error: Critical file transfer error It looks like the server is read-only for anonymous users. Monday, February 28, 2011, 12:40:00 PM, you wrote: Angus, I still

Re: [twsocket] FTP client testing

2011-02-28 Thread Antol
Hello Angus, I can download from your FTP from FileZilla. But my ICS application can only upload, that's why I need writing permission to test. Monday, February 28, 2011, 1:41:00 PM, you wrote: ARMSL Once you have got SSL downloads working, I will set-up a logon, but it's ARMSL a waste of my

Re: [twsocket] FTP client testing

2011-02-28 Thread OBones
At the very least your application should retrieve the directory listing to know it is at the right place before uploading. And retrieving the file list is a file download, so you should be able to test that to start with. Antol wrote: Hello Angus, I can download from your FTP from

Re: [twsocket] FTP client testing

2011-02-28 Thread Angus Robertson - Magenta Systems Ltd
that's why I need writing permission to test. What you need is working valid email address: This is the mail system at host fallback5.mail.ru. s...@acritum.com: host acritum.com[174.132.5.68] said: 550 No Such User Here I did ask you to email a request, which you never did. Angus -- To

Re: [twsocket] FTP client testing

2011-02-28 Thread Antol
Hello Angus, I have no idea where did you find s...@acritum.com, but sp at the beginnng supposes it is intended for spam :) Anyway, I received your login info. Thanks. I think ICS FTP SSL client works fine. I tested in all SSL modes in passive mode and had no problems. Active mode works

Re: [twsocket] FTP client testing

2011-02-27 Thread Angus Robertson - Magenta Systems Ltd
ARMSL ics.ftptest.org Personally, I cannot make it work even with Filezilla: SSL is now working with the public FTP server, the ICS FTP server was already configured to use a limited range of passive ports, so I just added these to the firewall (at the same time as blocking as various Far East

Re: [twsocket] FTP client testing

2011-02-25 Thread Angus Robertson - Magenta Systems Ltd
Personally, I cannot make it work even with Filezilla: Command:PASV Response: 227 Entering Passive Mode (217,146,102,142,82,27). Command:MLSD Response: 150 Opening data connection for directory list. Error: GnuTLS error -53: Error in the push function. I get the

Re: [twsocket] FTP client

2009-10-31 Thread Francois PIETTE
When I connect to any server, using TFtpClient, the application triggers my windows firewall, as if it was attempting to accept a remote connection to my computer instead. If I deny that right to my program and choose the block option in the firewall warning, everything works just as fine. Is

Re: [twsocket] FTP client through a proxy - HTTP CONNECT method

2009-10-29 Thread Fastream Technologies
Hello, I have proxy-side experience. After the CONNECT header is received, all we do is to return response header and then tunnel to the host specified. HTTPPRot.pas has some client-side example code for this! Regards, SZ On Thu, Oct 29, 2009 at 2:04 AM, Mauricio Peixoto

Re: [twsocket] FTP client through a proxy - HTTP CONNECT method

2009-10-29 Thread Mauricio Peixoto
I could not find it. You mean in the httpprot.pas file!? where? or in some of the samples (httptst.pas, httptst1.pas, ...)? which? Regards, Mauricio Date: Thu, 29 Oct 2009 09:40:59 +0200 From: ga...@fastream.com To: twsocket@elists.org Subject: Re: [twsocket] FTP client through

Re: [twsocket] FTP client through a proxy - HTTP CONNECT method

2009-10-29 Thread Fastream Technologies
? Regards, Mauricio Date: Thu, 29 Oct 2009 09:40:59 +0200 From: ga...@fastream.com To: twsocket@elists.org Subject: Re: [twsocket] FTP client through a proxy - HTTP CONNECT method Hello, I have proxy-side experience. After the CONNECT header is received, all we do

Re: [twsocket] FTP Client Delay - take 2

2009-10-11 Thread Graham (Deephaven)
: Francois PIETTE francois.pie...@skynet.be To: ICS support mailing twsocket@elists.org Sent: Saturday, October 10, 2009 10:15 PM Subject: Re: [twsocket] FTP Client Delay - take 2 You could have several FTP client component. Only one will poll and determine which files needs to be downloaded. Then you

Re: [twsocket] FTP Client Delay - take 2

2009-10-11 Thread Angus Robertson - Magenta Systems Ltd
Interesting concept. I have looked at the FTP client source and the first thing I am going to try is to change is the DataSocket to an array of TWSocket. If this falls in a big heap I shall look at your idea of multiple FTP components. If you make that change you will still be downloading

Re: [twsocket] FTP Client Delay - take 2

2009-10-10 Thread Angus Robertson - Magenta Systems Ltd
Unfortunately in this instance 200mS is a problem. The client is performing a LIST every 3 seconds on the server. There may be 300-400 files in the list. All of a sudden the server flags every file as changed and the client has to download every file to see if the change is valid. So now

Re: [twsocket] FTP Client Delay - take 2

2009-10-10 Thread Graham (Deephaven)
- Original Message - From: Francois PIETTE francois.pie...@skynet.be To: ICS support mailing twsocket@elists.org Sent: Saturday, October 10, 2009 8:44 AM Subject: Re: [twsocket] FTP Client Delay - take 2 Hello Graham, Unfortunately in this instance 200mS is a problem. The client is performing

Re: [twsocket] FTP Client Delay - take 2

2009-10-10 Thread Francois PIETTE
to an array of sockets? Graham - Original Message - From: Francois PIETTE francois.pie...@skynet.be To: ICS support mailing twsocket@elists.org Sent: Saturday, October 10, 2009 8:44 AM Subject: Re: [twsocket] FTP Client Delay - take 2 Hello Graham, Unfortunately in this instance 200mS

Re: [twsocket] FTP Client Delay - take 2

2009-10-10 Thread Robert Van Gemert
, October 11, 2009 7:47 AM Subject: Re: [twsocket] FTP Client Delay - take 2 Thanks for all your comments. The FTP server is not mine and cannot be changed so if anything can be changed it has to be in the FTP client. The polling is not the problem, one LIST command returns a list of items

Re: [twsocket] FTP Client Delay - take 2

2009-10-09 Thread Angus Robertson - Magenta Systems Ltd
I am using the ICS FTP client and am experiencing a delay in the RETR sequence of events. I have attached a Wireshark capture to demonstrate the problem. The mailing list does not allow attachments, since they would go to hundreds of members. The sequence of events is initially very

Re: [twsocket] FTP Client Delay - take 2

2009-10-09 Thread Arno Garrels
The list server eats attachments, you may want to upload the capture log to some webserver and post the link here. -- Arno Garrels Graham Powell wrote: Hello, I am using the ICS FTP client and am experiencing a delay in the RETR sequence of events. I have attached a Wireshark capture to

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Fastream Technologies
Hello, I think I missed the conversation so need to ask to confirm: Do you have aplans for UTF-8 TFtpServer? If so, any ETA? BTW, I recall some Russian and Chinese customers complaining about our THttpServer based web server as well. Is there any way to support Unicode on web side as well?

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Angus Robertson - Magenta Systems Ltd
Do you have aplans for UTF-8 TFtpServer? If so, any ETA? Much of the low level stuff is done, common with the client, the server itself will be done in the next week or two, depending on my other commitments. Angus -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Do you have aplans for UTF-8 TFtpServer? If so, any ETA? Much of the low level stuff is done, common with the client, the server itself will be done in the next week or two, depending on my other commitments. Should be worth mentioning that some

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Fastream Technologies
I think it's ok considering Win2000 was launched 9 years ago. On Fri, Sep 19, 2008 at 3:10 PM, Arno Garrels [EMAIL PROTECTED] wrote: Angus Robertson - Magenta Systems Ltd wrote: Do you have aplans for UTF-8 TFtpServer? If so, any ETA? Much of the low level stuff is done, common with the

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Angus Robertson - Magenta Systems Ltd
Should be worth mentioning that some of this low level stuff won't run on Win9x anymore. If you still need to support Win9x ICSv6 and D7-D2007 is the way to go (is this evil?). There is also the issue of UTF8 support in ICS V6. My current feeling is it's not worth the effort to support

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Frans van Daalen
- Original Message - From: Francois Piette [EMAIL PROTECTED] Angus and I added UTF-8 support to the TFtpCli V7. I think Angus and Arno deserve a BIG thank from all of us for the huge work they've done supporting internationalisation in FTP component. Thanks guys ! +1 ! --

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Tobias Rapp
Francois Piette wrote: Angus and I added UTF-8 support to the TFtpCli V7. I think Angus and Arno deserve a BIG thank from all of us for the huge work they've done supporting internationalisation in FTP component. Thanks guys ! Yes, it's great to hear that! Thanks for all the work that is

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Hoby Smith
Double Ditto! Thanks much... :) From: Francois Piette [EMAIL PROTECTED] Angus and I added UTF-8 support to the TFtpCli V7. I think Angus and Arno deserve a BIG thank from all of us for the huge work they've done supporting internationalisation in FTP component. Thanks guys ! -- To

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Maurizio Lotauro
Scrive Arno Garrels [EMAIL PROTECTED]: Hi All, Angus and I added UTF-8 support to the TFtpCli V7. All Delphi versions from D7 to D2009 are supported. Well done guys! Bye, Maurizio. This mail has been sent using Alpikom webmail system

Re: [twsocket] FTP Client specifying a port and getting a 10060 error...

2007-02-27 Thread Francois PIETTE
We have been using FTPClient and FTPServer for transmitting files with the default 'ftp' port. When I allow the user to specify a port we get the message Error = 10060 (500 Connection timed out (Winsock error #10060) on the FTP transmet. The Username and Password functions work

Re: [twsocket] FTP Client specifying a port and getting a 10060 error...

2007-02-27 Thread Fastream Technologies
This is a question we as a producer of a FTP server come accross every day. You need to use PASV mode on the client side and manual PASV mode on the server-side (defined/forwarded PASV ports. This feature was added in 2006). Regards, SZ - Original Message - From: [EMAIL PROTECTED]

Re: [twsocket] FTP-Client and FTP-Server

2007-02-22 Thread Arno Garrels
Singer, Dirk wrote: there two Problem at my Application and hope you can help me! I use Delphi7 and create an instance of TFtpClient in a Thread. Probably you create the object in the Execute method, that's fine. This Thread will interrupt and wait for an event to continue the execution.

Re: [twsocket] Ftp Client Send Error 426 using dialup connnection...

2006-12-16 Thread Francois PIETTE
Speed doesn't change anything. If it works with high speed connection, it has to work with a low speed connection as well. I suggest you tes using the FtpTst sample program delivered with ICS. Also update your ICS to the latest release or even the lates beta which contain all the fixes since

Re: [twsocket] FTP Client Bug?

2006-10-04 Thread DZ-Jay
On Oct 3, 2006, at 16:53, rick cusimano wrote: Imagine you have 2 files, within the following directories: a\b\c\d\file1.txt 1\2\3\file2.txt If you try to change to one directory then to the other, you end up retrieving the same file twice, instead of 1 file from each directory. !SNIP

Re: [twsocket] FTP Client Bug?

2006-10-04 Thread rick cusimano
Hello, Thanks DZ-Jay, you hit the nail on the head! Sorted it =o) Cheers Rick On Oct 3, 2006, at 16:53, rick cusimano wrote: Imagine you have 2 files, within the following directories: a\b\c\d\file1.txt 1\2\3\file2.txt If you try to change to one directory then to the other, you end up

Re: [twsocket] ftp client and port command

2006-09-03 Thread Francois PIETTE
If you use passive mode, you'll get rid of all problems. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Markus Humm [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, September 03, 2006 7:26 PM Subject: [twsocket] ftp client and port

Re: [twsocket] Ftp Client with proxie

2005-12-15 Thread Francois Piette
Just have a look at the source code ftpcli.pas. Search for proxy and you'll find some background informations about proxy support. There are several kind of proxies... If you have a transparent proxy, here are the steps (no programming needed !): 1) Instead of connection to a remote FTP

Re: [twsocket] FTP Client

2005-11-11 Thread Arno Garrels
David Rose wrote: But you forgot FtpClient1.ErrorMessage. That would help a lot. oops sorry. Both LastResponse and ErrorMessage return 500 Control connection closed. Connection aborted (Winsock error #10053) Tried it on another PC using a differnet ISP (but to the same FTP server) and

Re: [twsocket] FTP Client

2005-11-11 Thread Gies,Brad
Southfield, MI, USA - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: Friday, November 11, 2005 1:02 PM To: ICS support mailing Subject: Re: [twsocket] FTP Client David Rose wrote: But you

Re: [twsocket] FTP Client

2005-11-10 Thread Angus Robertson - Magenta Systems Ltd
I'm having a problem with the Ftpcli component (V2.99 D5). 99 times out of 100 the quit command works correctly, but on the other time FTPClient1.Quit returns false. Please try using FtpCli v2.100 or later (beta dated September 2005 or later), it contains a fix for a problem uploading small

Re: [twsocket] FTP Client

2005-11-10 Thread Arno Garrels
David Rose wrote: (sorry if you already got this - I didn't get an auto-acknowledgment from the list, so I don't know if it was posted). I'm having a problem with the Ftpcli component (V2.99 D5). I'm uploading several files to an FTP site, at the end of each upload I use the following

Re: [twsocket] FTP Client

2005-11-10 Thread David Rose
99 times out of 100 the quit command works correctly, but on the other time FTPClient1.Quit returns false. The time between the two codesite messages is about 300ms, so I'm presuming that it's not due to a time out. What else can result in this function returning false so quickly ?

Re: [twsocket] FTP Client

2005-11-10 Thread David Rose
Please try using FtpCli v2.100 or later (beta dated September 2005 or later), it contains a fix for a problem uploading small files, and the problem may have caused other issues Thanks, same problem. It seems that the error is 500 Control connection closed. Connection aborted (Winsock error

Re: [twsocket] FTP Client - Size() Function

2005-07-31 Thread Frank Wunderlich
Angus Robertson - Magenta Systems Ltd schrieb: The only bullet proof way is use CWD and DIR to get a directory listing, and parse it (many different formats) to get the file size. These commands are supported by all FTP servers. is there any parsing routine available which works for

Re: [twsocket] FTP Client - Size() Function

2005-07-30 Thread Francois PIETTE
Ise Size method. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Keith Willis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Saturday, July 30, 2005 11:44 AM Subject: [twsocket] FTP Client - Size() Function Dear All, Is there a bullet-proof way to get a

Re: [twsocket] FTP Client - Size() Function

2005-07-30 Thread Angus Robertson - Magenta Systems Ltd
Is there a bullet-proof way to get a remote File Size using the TFTPClient component? FEAT Command - numerous extensions have been made to the FTP protocol over the past few years, although support of these new commands is very sporadic. RFC2389 describes the FEAT command, which

Re: [twsocket] Ftp client send command

2005-07-13 Thread Francois Piette
I'm new of this mailling list. You're welcome. I have a problema. I have no standard ftp server and i use the ftpclient. I want to send command to this server for examples FtpClient.SendCommand('TEST') end the ftp server response 250 OK Use the FTP client component Quote method to send

Re: [twsocket] Ftp client send command

2005-07-13 Thread bimbospank
Thanks a lot. I will send to you a postcard for your child. Thanks. Spank- Italy -- Messaggio originale -- From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Date: Wed, 13 Jul 2005 13:34:48 +0200 Subject: Re: [twsocket] Ftp client send command Reply-To: ICS

Re: [twsocket] [FTP Client] Binary Mode

2005-05-20 Thread Francois Piette
I have question about using Binary Mode. If I set FTPClient.Binary = True, my data is transmited in Ascii mode anyway. Because the server doesn't know you have changed the way data has to be transfered and FTP protocol default to ascii. You _must_ call method TypeSet to send the information

Re: [twsocket] [FTP Client] Binary Mode

2005-05-20 Thread Artem Antonov
On Fri, 20 May 2005 17:12:45 +0400 Artem Antonov [EMAIL PROTECTED] wrote: Hello, I have question about using Binary Mode. If I set FTPClient.Binary = True, my data is transmited in Ascii mode anyway. Thanks, I've already managed with this problem. Best regards, Artem Antonov. -- To unsubscribe

Re: [twsocket] FTP client stalling

2005-05-16 Thread David Rose
I've discovered that if I drop the MTU on the Xp machine to 1352, then the file seems to be sent correctly without any stalling. Don't know why this should suddenly have become an issue, presumably a Windows update or something strange set upstream by the ISP ? regards David -- To

Re: [twsocket] FTP Client - Server close Connection

2005-05-10 Thread Artem Antonov
On Tue, 10 May 2005 11:40:01 +0200 Francois Piette [EMAIL PROTECTED] wrote: how can I control from client application (with TFTPClient component) that server close connection? You have an error message or an exception when you send a command. And how can I upload files to my ftp directory (and

Re: [twsocket] FTP Client - Server close Connection

2005-05-10 Thread Francois Piette
Thanks. Does it mean that I can cyclical send some command (for example, to get list of files) each minute, and in the case of error user get message : Error connection? If your goal is to keep the connection alive (most server close it if no command is sent), then yes, you can simply send a

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Francois Piette
Maybe you have a file permission problem. Your service is logged under system account or another account. Check that it has the required permissions. Also a side problem I'm having is: do you know of a simple way to parse the results from the DIR command into a simple list of filenames, sizes,

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Arno Garrels
Nikolay Simeonov wrote: Hello Francois, I'm writing a service and when I try to get the directory FTP1.Dir returns false. How can I pinpoint the problem and is there a way to figure out why it's returning false? There is i.e. property StatusCode and there are events also. You may assign

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
Of Arno Garrels Sent: Tuesday, April 26, 2005 10:14 AM To: ICS support mailing Subject: Re: [twsocket] FTP client and windows service problem Nikolay Simeonov wrote: Hello Francois, I'm writing a service and when I try to get the directory FTP1.Dir returns false. How can I pinpoint the problem

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Arno Garrels
Nikolay Simeonov wrote: Hi Arno, I did use any possible way that occurred to my mind to figure out what the problem is without any success. And as I said - it's working just fine when I am testing it from a standart windows application, but when I start the service it's crashing. What I was

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
] On Behalf Of Arno Garrels Sent: Tuesday, April 26, 2005 1:11 PM To: ICS support mailing Subject: Re: [twsocket] FTP client and windows service problem Nikolay Simeonov wrote: Hi Arno, I did use any possible way that occurred to my mind to figure out what the problem is without any success

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
, April 26, 2005 1:49 PM To: twsocket@elists.org Subject: RE: [twsocket] FTP client and windows service problem It definitely has the permissions because I ran it as an administrator. I tried as local system as well - both have full access granted for this folder (as a matter of fact - for every

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: Tuesday, April 26, 2005 2:17 PM To: ICS support mailing Subject: Re: [twsocket] FTP client and windows service problem Nikolay Simeonov wrote: It was saving the data in the service's folder and I'm 100% sure it had the proper

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Francois Piette
@elists.org Sent: Tuesday, April 26, 2005 12:58 PM Subject: RE: [twsocket] FTP client and windows service problem It was saving the data in the service's folder and I'm 100% sure it had the proper permissions to do that. The file was created but with a size of 0. -Original Message- From

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Dan
Can you list to a MemoryStream just to rule out permissions problems. Dan - Original Message - From: Nikolay Simeonov [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Tuesday, April 26, 2005 11:58 AM Subject: RE: [twsocket] FTP client and windows service problem

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Arno Garrels
Nikolay Simeonov wrote: But in this case FTPclient1.Dir would return true and in my case it's returning false. Check the StatusCode, on listing an empty directory it may be either 450 or 550. 450 Requested file action not taken. File unavailable (e.g., file busy). 550 Requested action not

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Dan
- Original Message - From: Nikolay Simeonov [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Tuesday, April 26, 2005 12:24 PM Subject: RE: [twsocket] FTP client and windows service problem But in this case FTPclient1.Dir would return true and in my case it's