Re: [twsocket] FTPclient Error 426

2012-09-23 Thread Arno Garrels
Maria wrote: In the program before we call DirectoryAsync we check to see if the FTPClient is connected. If it is we call abort then quit. Abort followed by Quit is nonsens. Method Abort aborts the connection, command Quit however requires a connection in order to send the Quit-command to the

Re: [twsocket] FTPclient Error 426

2012-09-19 Thread Angus Robertson - Magenta Systems Ltd
When I copy the exe to another computer Window's XP every FTP server (8 different servers) we connect to gives an ErrCode = 426 with a message Operation Aborted. When FTP fails to run on a specific computer, it's nearly always configuration of that computer, usually a firewall or router

Re: [twsocket] FTPclient Error 426

2012-09-19 Thread Maria
Message - From: Angus Robertson - Magenta Systems Ltd an...@magsys.co.uk To: twsocket@elists.org Sent: Wednesday, September 19, 2012 9:09 AM Subject: Re: [twsocket] FTPclient Error 426 When I copy the exe to another computer Window's XP every FTP server (8 different servers) we connect

Re: [twsocket] FTPclient Error 426

2012-09-19 Thread Angus Robertson - Magenta Systems Ltd
I really like the component. One question is there more detailed help then the one online. Sorry, it has always been hard to find volunteers to document the ICS library, and in particular keep it updated for the constant changes we make. The developers all contribute their efforts free, and

[twsocket] FTPclient Error 426

2012-09-18 Thread Maria
I just registered my email address. Below is the question I posted earlier. Hello Everyone, I have fully implemented the FTPClient on my development station and we can connect and poll files from 8 different FTP servers successfully. When I copy the exe to another computer Window's XP every

[twsocket] FTPClient Localfilename

2011-06-11 Thread Robert
Hello, How I can download a file in memory instead on disk using the command GET ? Tks in advance Robert -- 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] FTPClient Localfilename

2011-06-11 Thread Francois PIETTE
How I can download a file in memory instead on disk using the command GET ? Use a TMemoryStream instance and assign it to LocalStream property -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS)

Re: [twsocket] FTPClient Put problem

2008-02-27 Thread Fastream Technologies
Hello, I think increasing the buffer size to 16kB would solve the issue. Regards, SZ On 2/27/08, Fias Norbert István [EMAIL PROTECTED] wrote: Honestly I did not find the answer for my following question int he archieves, buti t can be I missed something. I have the following problem In

[twsocket] FTPClient Put problem

2008-02-27 Thread Fias Norbert István
Honestly I did not find the answer for my following question int he archieves, buti t can be I missed something. I have the following problem In case of upload with FTPClient the upload is slow. It seems that the client does not send enough fast the TCP segments. I mean it is waiting for the

Re: [twsocket] FTPClient Put problem

2008-02-27 Thread Arno Garrels
I once tested uploading a 2 GB file at 44 Mbits/s in a 100 Mbit/s LAN. Write ahead cache was disabled at the Server's HDD and the the disk seemed rather busy, the HDD was probably the bottleneck that avoided higher speeds. Make sure you do not have any anti-virus software or a personal Firewall

Re: [twsocket] FTPClient Put problem

2008-02-27 Thread Fias Norbert István
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: Wednesday, February 27, 2008 12:16 PM To: ICS support mailing Subject: Re: [twsocket] FTPClient Put problem I once tested uploading a 2 GB file at 44 Mbits/s in a 100 Mbit/s LAN. Write ahead cache was disabled at the Server's HDD

Re: [twsocket] FTPClient Put problem

2008-02-27 Thread Arno Garrels
] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: Wednesday, February 27, 2008 12:16 PM To: ICS support mailing Subject: Re: [twsocket] FTPClient Put problem I once tested uploading a 2 GB file at 44 Mbits/s in a 100 Mbit/s LAN. Write ahead cache was disabled at the Server's HDD

Re: [twsocket] FTPClient Put problem

2008-02-27 Thread Tobias Rapp
Fias Norbert István wrote: The problem is that Indy sends a large amount TCP segments as the received window increasing and as no drop occured while ICS FTP client does not increase the number of sent segments, so the unacknowledged amount of bytes is not increasing. I have experienced

Re: [twsocket] FTPClient Put problem

2008-02-27 Thread Francois PIETTE
In case of upload with FTPClient the upload is slow. Pay attention to progress bar or similar GUI gadget. If not programmed correctly, they could slow down transfer a lot. Also, try running the FTP component in a worker thread, maybe with a priority set to something higher than the main

[twsocket] FTPClient ftpdir.txt

2007-11-22 Thread Arnold FLUTEAUX
Hi, I've need the complete time of files of server directory to do a synchronization between client and server. But when I open the ftpdir.txt (after a DIR command), I have'nt complete time: I've got hour, minutes bur not seconds. So Is it a way to get this or have I to use MTDM for each file of

Re: [twsocket] FTPClient : CHMOD

2007-07-25 Thread Francois Piette
How to do with FTPClient a CHMOD command? Use TFtpCli.Quote method to send any non standard command to the server. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier

[twsocket] FTPClient : CHMOD

2007-07-24 Thread patrice . dumas
Hi, How to do with FTPClient a CHMOD command? Thanks, Patrice. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

[twsocket] FTPClient specifying a port other than 21...

2007-03-01 Thread [EMAIL PROTECTED]
Thanks for the previous posts. I guess the bottom line is, does FTPClient work with other ports besides port 21 for the version last revised: Apr 18, 2003. I am currently using Delphi 3? I have tried specifying other ports but receive the message 10060 on a file transmit as previously

Re: [twsocket] FTPClient specifying a port other than 21...

2007-03-01 Thread Arno Garrels
[EMAIL PROTECTED] wrote: Thanks for the previous posts. I guess the bottom line is, does FTPClient work with other ports besides port 21 for the version last revised: Apr 18, 2003. I am currently using Delphi 3? Please read this:

Re: [twsocket] FTPClient Upload/download size incorrect?

2007-01-13 Thread Dod
Hello, Is it text file or binary file ? If text file be sure to set binary mode, if not all #13#10 may be converted into #10 if destination is Unix system so each text line will loose 1 byte. regards. CR Using FtpTst demo, I upload a file from c:\dir, size 61,184. After upload, CR

Re: [twsocket] FTPClient Upload/download size incorrect?

2007-01-13 Thread Chris Roller
:[EMAIL PROTECTED] Sent: Saturday, January 13, 2007 04:02 To: ICS support mailing Subject: Re: [twsocket] FTPClient Upload/download size incorrect? Hello, Is it text file or binary file ? If text file be sure to set binary mode, if not all #13#10 may be converted into #10

Re: [twsocket] FTPClient Upload/download size incorrect?

2007-01-13 Thread Dod
It is Unix. Is there a TFTPClient setting to fix this, or do I simply CR convert #10s into #13#10s? -Original Message- From: Dod [mailto:[EMAIL PROTECTED] Sent: Saturday, January 13, 2007 04:02 To: ICS support mailing Subject: Re: [twsocket] FTPClient Upload/download size incorrect? Hello

Re: [twsocket] FTPClient Upload/download size incorrect?

2007-01-13 Thread Arno Garrels
-Original Message- From: Dod [mailto:[EMAIL PROTECTED] Sent: Saturday, January 13, 2007 04:02 To: ICS support mailing Subject: Re: [twsocket] FTPClient Upload/download size incorrect? Hello, Is it text file or binary file ? If text file be sure to set binary mode

Re: [twsocket] FTPClient Upload/download size incorrect?

2007-01-13 Thread Chris Roller
Thanks, that worked. I feel silly. -Original Message- From: Arno Garrels [mailto:[EMAIL PROTECTED] Sent: Saturday, January 13, 2007 13:43 To: ICS support mailing Subject: Re: [twsocket] FTPClient Upload/download size incorrect? Chris Roller wrote: Does it with ASCII or binary

[twsocket] FTPClient Upload/download size incorrect?

2007-01-12 Thread Chris Roller
Using FtpTst demo, I upload a file from c:\dir, size 61,184. After upload, size indicates 60995. Download the same file, size is 61,440. Anybody know what's going on? I need the sizes to be same on upload/download. -- To unsubscribe or change your settings for TWSocket mailing list please

[twsocket] FTPClient and strange behaviour

2006-07-04 Thread Markus Humm
Hello, Markus Humm wrote: I've tried the FTPTst Application right now and found out that a PASS is required after a open, it will delete the file then. But why didn't the server tell me in my program and always claimed to have carried out my delete request? If authentication is required

Re: [twsocket] FTPClient and strange behaviour

2006-07-04 Thread Arno Garrels
Markus Humm wrote: If authentication is required to issue a command the server should send an error code, typically 530. Okay, will pay attention to it. Is there any short overview of the FTP-protocols available? Afaik the RFCs are a bit longish I fear. RFCs are the standards, there's no

[twsocket] FTPClient and strange behaviour

2006-07-03 Thread Markus Humm
Message: 3 Date: Sun, 2 Jul 2006 21:38:06 +0200 From: Arno Garrels [EMAIL PROTECTED] Subject: Re: [twsocket] FTPClient and strange behaviour To: ICS support mailing twsocket@elists.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Markus Humm wrote

[twsocket] FTPClient and strange behaviour

2006-07-02 Thread Markus Humm
Hello, I'm using D2006, ICS 5 (from the Partner DVD) and Windows XP professional with a lightwight FTP-Server. I'm writing some application which is to be used to maintain a website later and for this a html-file is created on the local PC and should be transferred to the webserver using FTP. I

[twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Delphi
Hello, i have installed the ics width Delphi7 i would download with the ftp-client a large file (6GByte). After 2GB the client hang (overflow integer) why doesn't work the in64-version of the functions in D7 ? in Delphi 5 the ftp-client works with get fine a download 6 GByte. Best regards

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Arno Garrels
Richard (Delphi) wrote: After 2GB the client hang (overflow integer) why doesn't work the in64-version of the functions in D7 ? Please post the line number where the exception is being raised. If you don't run the application in the IDE you can compile a debug-version using MadExcept

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Arno Garrels
Delphi wrote: Hello Arno Garrels i get the exception EIntOverflow in Line 3842 in ..\vcl32\wsocket.pas If it is this line FReadCount := FReadCount + Result; it's clear. FReadCount is just an integer. Instead it should be defined as Int64 in newer compilers. If CBuilder 4 supports Int64 (D4

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Arno Garrels
Sorry, exchange {$END} by {$ENDIF}, the beer was too good yesterday 8-( bAllSent: Boolean; {$IFDEF COMPILER4_UP} FReadCount : Int64; {$ELSE} FReadCount : LongInt; {$ENDIF} FPaused : Boolean; And ~ Line 988: property AllSent :

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Angus Robertson - Magenta Systems Ltd
If it is this line FReadCount := FReadCount + Result; it's clear. FReadCount is just an integer. Instead it should be defined as Int64 in newer compilers. Very strange that error never came up when I added 64-bit support to the FTP client 6 month ago, I know I successfully tested DVD image

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: If it is this line FReadCount := FReadCount + Result; it's clear. FReadCount is just an integer. Instead it should be defined as Int64 in newer compilers. Very strange that error never came up when I added 64-bit support to the FTP client 6 month

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Angus Robertson - Magenta Systems Ltd
Very strange that error never came up when I added 64-bit support to the FTP client 6 month ago, I know I successfully tested DVD image files larger than 2 gigs. Is it possible that you tested the upload only? I would have testing both upload and download, but I was also testing

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Delphi
in delphi 5 it works fine, but in delphi 7 i get the error. is this acute;not the same code? (stream.pas)?? richard Angus Robertson - Magenta Systems Ltd [EMAIL PROTECTED] schrieb: Very strange that error never came up when I added 64-bit support to the FTP client 6 month ago, I know I

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Francois PIETTE
- From: Richard (Delphi) [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, May 30, 2006 6:33 PM Subject: Re: [twsocket] FTPClient problem w. large files in D7 in delphi 5 it works fine, but in delphi 7 i get the error. is this acute;not the same code? (stream.pas

Re: [twsocket] FTPClient problem w. large files in D7

2006-05-30 Thread Delphi
PROTECTED] http://www.overbyte.be - Original Message - From: Richard (Delphi) [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, May 30, 2006 6:33 PM Subject: Re: [twsocket] FTPClient problem w. large files in D7 in delphi 5 it works fine, but in delphi 7

[twsocket] FTPClient ASCII or Binary ?

2005-12-15 Thread David Rose
Is there something wrong with the code below. As far as I understand it should be uploading in binary mode, but the FTP conversation looks like it's in ASCII mode, though the (23MB) file does seem to upload correctly. If I try something like FTPexplorer then the FTP log does show Opening BINARY

Re: [twsocket] FTPClient ASCII or Binary ?

2005-12-15 Thread Fastream Technologies
, 2005 12:26 AM Subject: [twsocket] FTPClient ASCII or Binary ? Is there something wrong with the code below. As far as I understand it should be uploading in binary mode, but the FTP conversation looks like it's in ASCII mode, though the (23MB) file does seem to upload correctly. If I try

[twsocket] FTPClient not ready

2005-11-22 Thread [EMAIL PROTECTED]
hi All, In my application i have 3 TTimer compents that on interval time send ftp command with TFtpClient components. I control this procedure on OnRequest event but the component say FTPclient not ready; how make to control this event, why ? Thank in advanced. Marco. Italy -- To unsubscribe

Re: [twsocket] FTPClient speeds

2005-09-04 Thread Piotr Dałek
Hello! I wrote a write-buffering stream. Anyone interested? Adding read and seek support and extending it so it can write to other streams shouldn't be difficult. snip I thought windows buffered writes anyway? Is this so you can have a larger buffer or something completely different?

Re: [twsocket] FTPClient speeds

2005-08-30 Thread Dod
Also remember that if you use xDSL connection your upload bandwidth much smaller than download one. Is GET faster than PUT? In my tests GET performs seven times faster than PUT. FP Considering the transport, there is no reason to have a speed difference. Server caches files, is that the

Re: [twsocket] FTPClient speeds

2005-08-30 Thread Arno Garrels
Dod wrote: Also remember that if you use xDSL connection your upload bandwidth much smaller than download one. Yes I know, I was just wondering whether file caching can make such a big difference. BTW: I already suggested last year to write/implement a tiny buffered stream class, that would

Re: [twsocket] FTPClient speeds

2005-08-30 Thread Dod
Hello Arno, I could but...don't remember where is my stop-time watch I just bought around the corner to make it pause life-time for next 10 years :-) AG Dod wrote: Also remember that if you use xDSL connection your upload bandwidth much smaller than download one. AG Yes I know, I was just

Re: [twsocket] FTPClient speeds

2005-08-29 Thread Angus Robertson - Magenta Systems Ltd
Is GET faster than PUT? In my tests GET performs seven times faster than PUT. Server caches files, is that the reason? Yes, reading a file will always be much faster than writing one, particularly on a heavily loaded web server where much of the content is coming from memory, and stuff is

[twsocket] FTPClient not ready

2005-07-20 Thread bimbospank
Hi All, in my delphi application i use the TFtpClient with timer that on interval retrieve file from my ftp server. My first time ftpclient works, but another time stop it generate FTP Component not ready, Why ? How do i control this situation ? Thanks a lot in advanced for answer.

Re: [twsocket] FTPClient

2005-06-28 Thread Carlos Lalín
Thank you very much. He have found the problem. The servername was incorrect. Regards. - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, June 27, 2005 6:35 PM Subject: Re: [twsocket] FTPClient Carlos Lalín wrote

[twsocket] FTPClient

2005-06-27 Thread Carlos Lalín
Hello, I use the component FTPCliente to download files from a server. I indicate the name of the file where appear the name of the files to download. After doing Ls, the file is empty when with another program FTP I see that there are files. To what can it owe? Thank you. Regards. Carlos. --

Re: [twsocket] FTPClient

2005-06-27 Thread Arno Garrels
Carlos Lalín wrote: After doing Ls, the file is empty I don't think it's possible *if the remote directory was not empty. You *may get an error in OnRequestDone if it was empty and file listing was therefore not sent. Arno Garrels Carlos Lalín wrote: Hello, I use the component FTPCliente

Re: [twsocket] FTPClient

2005-06-27 Thread Carlos Lalín
I'm sorry but this is like that. The files are there but the file is empty. The conection doesn't produce error. Carlos. - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, June 27, 2005 1:18 PM Subject: Re: [twsocket

Re: [twsocket] FTPClient

2005-06-27 Thread Carlos Lalín
elements. Regards. - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, June 27, 2005 2:17 PM Subject: Re: [twsocket] FTPClient Carlos Lalín wrote: I'm sorry but this is like that. The files are there but the file is empty

Re: [twsocket] FTPClient

2005-06-27 Thread Arno Garrels
mailing twsocket@elists.org Sent: Monday, June 27, 2005 2:17 PM Subject: Re: [twsocket] FTPClient Carlos Lalín wrote: I'm sorry but this is like that. The files are there but the file is empty. The conection doesn't produce error. Can you show some lines of code? Arno Garrels Carlos

Re: [twsocket] FTPClient

2005-06-27 Thread Carlos Lalín
that they give me. In a program FTP, it connects find and it shows all files. - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, June 27, 2005 5:00 PM Subject: Re: [twsocket] FTPClient What happens when you try

Re: [twsocket] FTPClient

2005-06-27 Thread Arno Garrels
: [twsocket] FTPClient What happens when you try this? The code is: FtpClient1.HostName := servername; FtpClient1.Port := 'ftp'; FtpClient1.HostDirName := '/'; FtpClient1.UserName := username; FtpClient1.Password := password; FtpClient1

Re: [twsocket] FTPClient UNIX-Server - How to setup binary mode? - isthis the right way?

2005-03-29 Thread Arno Garrels
Mice Cage wrote: I know now that I have to use the Typeset-Command. I hope I placed it now at the right place: ftpclient1.cwd; {}FtpClient1.TypeSet; Yes. Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto