zayin wrote:
> Hello,
>
> Thanks Arno. The speed increase was almost double.
>
>> Please let me know how it works for you, does it slow down
> performance when you have plenty of small files to transfer?
>
> Not sure. The files I am sending, normally just two, are all large
> installer files.
>
Hello,
Thanks Arno. The speed increase was almost double.
> Please let me know how it works for you, does it slow down
performance when you have plenty of small files to transfer?
Not sure. The files I am sending, normally just two, are all large installer
files.
> Maybe we should make these s
Arno Garrels wrote:
>
> My test: ICS 7.3 MB/s and FileZilla 12.0 MB/s in a 100 Mbit LAN.
> After I set DataSocket's winsock send and receive buffer size
> to 32768 (default 8192) speed notably increased to 11.4.
The receive buffer doesn't matter here of course :)
> I uploaded this changed Overb
Arno Garrels wrote:
> After I set DataSocket's winsock send and receive buffer size
> to 32768 (default 8192) speed notably increased to 11.4.
The reason for this increase is that TryToSent less often
hits socket error WSAWOULDBLOCK see also:
http://support.microsoft.com/kb/823764/en-us
--
Ar
zayin wrote:
> Hello,
>
> I am using TFtpClient, version 7.12 to transfer a single file. The
> elapsed time is over 4 1/2 minutes. When I transfer the same single
> file with FileZilla the elapsed time is 2 1/2 minutes.
My test: ICS 7.3 MB/s and FileZilla 12.0 MB/s in a 100 Mbit LAN.
After I set
Hello,
I am using TFtpClient, version 7.12 to transfer a single file. The elapsed
time is over 4 1/2 minutes. When I transfer the same single file with
FileZilla the elapsed time is 2 1/2 minutes.
Nothing I have changed much changes the elapsed time.
I have a callback FtpClient1Progress64 to upd
If the file exist on the server I do not want to overwrite the file. I
want
to abort the transfer. Is that possible?
This is not a client issue, but a server issue. usually FTP server allows
overwriting existing files.
Or do I need to check if the file exists before TFTPClient.Tansmit?
Ye
Hello,
I think the MLST command is the easiest for the purpose since it is used
just for single file querying.
Regards,
SZ
On Tue, Nov 23, 2010 at 11:16 PM, zayin wrote:
> Hello,
>
> Thanks for the answer.
>
> I might have put the question wrong.
>
> If the file exist on the server I do not w
Hello,
Thanks for the answer.
I might have put the question wrong.
If the file exist on the server I do not want to overwrite the file. I want
to abort the transfer. Is that possible?
Or do I need to check if the file exists before TFTPClient.Tansmit?
If I need to check first, what is the best
I think this is my last question for TFTPClient. Is there a way to prevent
the overwriting of the file if it exists on the server? Overwrite seems to
be the default.
You may upload using a temp filename and after upload delete the existing
one and rename the temp file.
--
francois.pie...@over
Hello,
I think this is my last question for TFTPClient. Is there a way to prevent
the overwriting of the file if it exists on the server? Overwrite seems to
be the default.
Ciao,
Mark
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bi
Hello,
>> What are the "dataportrangeend" and "dataportrangestart" properties in
the...
>As you may already know, FTP is using TWO ports: one for commands and one
>for data. And for data, a FTP client act as a server : unless you select
>passive mode, a FTP client accept data connection from th
What are the "dataportrangeend" and "dataportrangestart" properties in the
TFTPClient component? I searched and could not find any description. I see
them mentioned in a FAQ but no description.
What I need to do is allow the user to specify a local port number. If I
set both of the above propert
Hello,
What are the "dataportrangeend" and "dataportrangestart" properties in the
TFTPClient component? I searched and could not find any description. I see
them mentioned in a FAQ but no description.
What I need to do is allow the user to specify a local port number. If I
set both of the above
Hello,
Thank you both for the answers.
Ciao,
Mark
--
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
What is the "account" property in the TFTPClient component? I
searched and could not find any description.
Account is the property sent using the Acct method, which is an FTP
command. Most FTP servers are happy with just a user name, rather than
needing an account as well, but it's a very old
> What is the "account" property in the TFTPClient component? I
> searched and could not find any description.
Account is the property sent using the Acct method, which is an FTP
command. Most FTP servers are happy with just a user name, rather than
needing an account as well, but it's a very ol
Hello,
What is the "account" property in the TFTPClient component? I searched and
could not find any description.
Thanks,
Mark
--
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://w
Thanks for example.
Thanks for Lionel Rault and Anton Sviridov.
--
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
Hello!
Here's routine from TurboPower iPRO component pack which I improved a bit
{ Set properties from Unix style line of directory listing }
procedure TIpFtpFileInfo.UnixStyleParse(Info : TStringList);
var
S, A : string;
i, idx : Integer;
wYear, wMonth, wDay, wHour, wMin, shit: Word;
fs:
And it is well. I will show the result.
-rwx-- 1 user group 311521 May 29 07:33 1.jpg
-rwx-- 1 user group 311521 May 29 07:38 2.jpg
drwx-- 1 user group 0 Jun 03 16:13 test1
I can not read the date of file ' May 29 07:33'
should be '2010-05-29 07:33:00' how
I greet,
Have the problem and need the help.
I several days already fight from ftp the list.
FTP.HostName:='localhost';
...
FTP.Connect;
FTP.Dir;
And it is well. I will show the result.
-rwx-- 1 user group 311521 May 29 07:33 1.jpg
-rwx-- 1 user group 311521 May 29 07:38
I am trying to use TFTPClient in FreePascal. I have used twSocket
successfully but the
FTPClient will not compile because when trying to link the ICSZLibObj it
comes up
with "Error: IllegalCOFF Magic while reading C:/xxx/adler32.obj". (every
external
obj comes up with that error). I have trying
I am trying to use TFTPClient in FreePascal. I have used twSocket successfully
but the FTPClient will not compile because when trying to link the ICSZLibObj
it comes up with "Error: IllegalCOFF Magic while reading C:/xxx/adler32.obj".
(every external obj comes up with that error).
I have tryin
> using TFtpClient with ConnectionType = ftpSocksX we probably need
> to reassign SocksProperties before each FDataSocket.Connect.
> Because after first Close of DataSocket this properties will be
> resetted (see Wsocket.pas, procedure
> TCustomSocksWSocket.AssignDefaultValue;) so only first co
Hello all,
using TFtpClient with ConnectionType = ftpSocksX we probably need to reassign
SocksProperties before each FDataSocket.Connect. Because after first Close of
DataSocket this properties will be resetted (see Wsocket.pas, procedure
TCustomSocksWSocket.AssignDefaultValue;) so only first c
I don't know why, but the problem is suddenly gone - after some tests it's not
occurs anymore with 7.0.1.325 (but still with 6.0.2.621 on other PC) and as I
can see even ftp client/server works speedier as before.
Many thanks to everybody who have tried to help me and good start into the new
w
asvetov wrote:
> Just updated to 7.0.1.325 The same problems. But I have noticed
> important thing: the problem not occurs if PC is NOT connected to the
> LAN/Router (really unplugged stand alone). If PC is connected to the
> LAN/Router (no matter if client and server on the same machine) the
> pro
Just updated to 7.0.1.325 The same problems. But I have noticed important
thing: the problem not occurs if PC is NOT connected to the LAN/Router (really
unplugged stand alone). If PC is connected to the LAN/Router (no matter if
client and server on the same machine) the problems occurs.
09.03.
asvetov wrote:
> Have you tried all in passive mode?
Yes.
> I've
> WinXP Pro (not virtual) with Kaspersky IS 7.0.0.125 (actual version).
W2K SP4, IS 7.0.1.325 downloaded today from their German website.
> As I said with 7x it happens not always, but this way I can reproduce
> the problem in 99
Thank you for trying that! Have you tried all in passive mode? I've WinXP Pro
(not virtual) with Kaspersky IS 7.0.0.125 (actual version). As I said with 7x
it happens not always, but this way I can reproduce the problem in 99%: on the
server side I create directory structur with about 100 subdir
asvetov wrote:
> I've reproduced this problem yesterday and I did it right now again
> (many times).
>
> start OverbyteIcsFtpServ.exe from your archive.
> start xferdemo2.exe -> activate options: No Feta, No Mode Z, No
> MD5/CRC Check, No TMP File for UP/DOWN, all diagnostics level
> activated ->
> What can I say. Great. But don't you think we just can't say to our
> users "sorry, works fine..."? You have now detailed Logs from YOUR
> own application and don't want at least to try to reproduce this?
Reproduce is the operative word. I can not, and this is not something
that I recall bei
What can I say. Great. But don't you think we just can't say to our users
"sorry, works fine..."? You have now detailed Logs from YOUR own application
and don't want at least to try to reproduce this? ... And yes, client and
server on the same machine is not "real world" but the same problem occ
> I've reproduced this problem yesterday and I did it right now again >
(many times).
Sorry, works fine on my PC using the same binaries, repeatedly. XP SP2
with Sophos anti-virus but no firewall software (I use a proper hardware
firewall, Sonicwall TZ190).
Connect/Logon to FTP Server: 127.0.0
I've reproduced this problem yesterday and I did it right now again (many
times).
start OverbyteIcsFtpServ.exe from your archive.
start xferdemo2.exe -> activate options: No Feta, No Mode Z, No MD5/CRC Check,
No TMP File for UP/DOWN, all diagnostics level activated -> click "Check
Upload" -> t
> as I read in Archives (you discussion with
> Francois), you use Synchronous mode and sleep.
I do use synchronous mode, but I don't use sleep because that stops
everything else running in the same application, and considerably slows
down transfer speed.
> Just create random
> directory stru
I have two notebooks and I can reproduce this problem on both: on the first
(Pentium M) the problems occurs as already described, on the second (Core Duo)
the problem occurs seldom. As I said, mostly it comes if I use
ftpWaitUsingSleep option in FTPCli. You can try to reproduce this, as I read i
> once again: firewall is completely deaktivated. Background file
> scanner too. But seems to be, that some Kaspersky componnents still
> active and only when I complete deactivate protection works all
> fine.
On how many different PCs can you reproduce the fault with the latest V6
FTP versions
Hello asvetov,
Firewalls and Anti-virus are NEVER 100% disabled because they load low
level drivers on system boot. So the only way for you to be sure that
firewall is not involved in your problem is to uninstall it or you may
reboot Windows in safe mode and temporary rename kl1.sys klf.sys
Sorry, "with ANY server" is just not correct. With servers I've tested
(FileZille server too). This is correct :)
08.03.08, 21:22, "Arno Garrels" <[EMAIL PROTECTED]>:
> asvetov wrote:
> > As I already said, other Clients work fine.
> That is not a beating argument. Most other clients use block
asvetov wrote:
> I don't thing it has something to do with server. The problem occurs
> with ANY server. So it's on the client side (FtpCli or Wsocket).
So one problem less
Still thinking...
--
Arno Garrels
>
>
> 08.03.08, 21:22, "Arno Garrels" <[EMAIL PROTECTED]>:
>
>> asvetov wrote:
>>>
I don't thing it has something to do with server. The problem occurs with ANY
server. So it's on the client side (FtpCli or Wsocket).
08.03.08, 21:22, "Arno Garrels" <[EMAIL PROTECTED]>:
> asvetov wrote:
> > As I already said, other Clients work fine.
> That is not a beating argument. Most ot
once again: firewall is completely deaktivated. Background file scanner too.
But seems to be, that some Kaspersky componnents still active and only when I
complete deactivate protection works all fine.
BTW: As for Kaspersky, I really like it and did my BEST experiense with it.
08.03.08, 20:52,
asvetov wrote:
> As I already said, other Clients work fine.
That is not a beating argument. Most other clients use blocking
winsock API, AFAIK only Filezilla uses non-blocking calls. Does
it never happen with Filezilla client against ICS FTP server? If
so, do you confirm that the ICS server isn
As I already said, other Clients work fine. And yes, I can reproduce all with
latest V6
- Server Protocol
FtpServer (c) 1998-2008 F. Piette V1.10
Using:
TWSocket (c) 1996-2007 Francois Piette V6.08
TFtpServer (c) 1998-2008 F. Piette V1.57
Winsock:
Version 2.2
Wi
Sounds more like somebody is blocking/intercepting the call
to Connect?
BTW: I do not use any real time AV scanners or other background
security tools, it's my experience that they make more trouble
than they help. Same applies to personal firewalls. They all
hook the API function calls as they li
> I have sporadic problems with TFtpClient where OnSessionClosed
> event of DataSocket not always fired.
> I can reproduce this problem with all ICS Versions (5 and 6).
Can you reproduce the problem using the latest V6 versions from this
month, there are large number of server and client fixes:
Hello all!
I have sporadic problems with TFtpClient where OnSessionClosed event of
DataSocket not always fired. Especially if FTP Server is on the LAN, or on the
same machine as FTP Client and Firewall/Antivirus Software (in my case
Kaspersky Internet Security V6) on the client machine is insta
echnologies" <[EMAIL PROTECTED]>
An: "ICS support mailing"
CC:
Betreff: Re: [twsocket] TFtpClient retrieve file size for progress bar
> Hello,
>
> Some old FTP servers do not support the SIZE command as it is not
> mandatory
> in RFC959. Yuo will need to u
12:20 PM
Subject: [twsocket] TFtpClient retrieve file size for progress bar
> Hi,
>
> I'm using the BasFtp1 demo of ICS to test downloading a file from an FTP
> server. I changed this demo (at least a tried to) to retrieve the file
> size
> before downloading to feed a progres
Hi,
I'm using the BasFtp1 demo of ICS to test downloading a file from an FTP
server. I changed this demo (at least a tried to) to retrieve the file size
before downloading to feed a progress bar.
I've changed the RequestDone event the following way:
[..]
ftpTypeSetAsync:
beg
S (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
> - Original Message -
> From: "Antonio Marcos Pereira" <[EMAIL PROTECTED]>
> To:
> Sent: Tuesday, August 22, 2006 3:08 PM
> Subject: [twsock
-
From: "Antonio Marcos Pereira" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 22, 2006 3:08 PM
Subject: [twsocket] TFtpClient lrecl and recfm
> Hello,
>I'm changing a program that it's use the TFtpClient to put and get
files
> in a Mainframe.
>Fo
Hello,
I'm changing a program that it's use the TFtpClient to put and get files
in a Mainframe.
For necessity of the customer, i have to informe 2 params (LPARAM and
RECFM) by SITE command to the server.
After several attempts and researches to discover how can i send this
command by TFtpC
I wrote:
> Please find attached ZIP, FtpCommon.pas (9 KB, hopefully not deleted by
Why is it not possible to attach such small files :(
Anyway, I've uploaded the mentioned ZIP (which is not my work!)
to: http://www.duodata.de/misc/delphi/FTPCommon.zip
Arno Garrels
--
To unsubscribe or change
[EMAIL PROTECTED] wrote:
> The command "ls" gives me a list with folders and files, but how can I
> get the files or the folders only ?
Please find attached ZIP, FtpCommon.pas (9 KB, hopefully not deleted by the
listserver) helps a lot when you need to parse the returned file listing.
I HAVEN'T
> I want to program a FTP-Client, but the ICS-Client is not easy to use.
That's not a component issue. It is how FTP protocol is working. The format
of the directory list depends on the server you use. It is not specified in
the standard.
> How can I get more informations about the files on th
Hi there,
first i have to say: sorry for my bad english ;-)
I want to program a FTP-Client, but the ICS-Client is not easy to use.
How can I get more informations about the files on the FTP-Server ?
The command "ls" gives me a list with folders and files, but how can I get the
files or the
folde
> 1) Is there any special reason, why in procedure
> TCustomFtpCli.AbortAsync WSockets are Closed instead
> of Aborted?
No special reason.
> If not, I would like to change calls to WSocket.Abort.
Looks good.
> 2) Also in this proc. DestroyLocalStream is called twice,
> can I delete one of them
Hi,
1) Is there any special reason, why in procedure
TCustomFtpCli.AbortAsync WSockets are Closed instead
of Aborted? If not, I would like to change calls to WSocket.Abort.
2) Also in this proc. DestroyLocalStream is called twice,
can I delete one of them?
---
Arno Garrels [TeamICS]
http://www.o
- Original Message -
From: "Cremaschi Marco - MEDICAE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 15, 2006 2:00 PM
Subject: Re: [twsocket] TFtpClient - Quit never returns when not connected!
> Hallo, I've a problem us
> Hallo, I've a problem using TftpClient.
Is it related to the subject ? I guess no ! You should have opened a new
thread with a proper subject.
> I can't obtain a connection, if on a Lan there is a squid proxy server.
> Why??
I can't tell you anything if you don't give more informations about
Hallo, I've a problem using TftpClient.
I can't obtain a connection, if on a Lan there is a squid proxy server.
Why??
Thank you.
--
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.
turday, January 14, 2006 8:02 PM
Subject: Re: [twsocket] TFtpClient - Quit never returns when not connected!
> Francois PIETTE wrote:
>>>>> FLastResponse := '200 OK not connected';
>>>>
>>>> A "200" answer mean OK, let'
Francois PIETTE wrote:
FLastResponse := '200 OK not connected';
>>>
>>> A "200" answer mean OK, let's continue.
>>> Probably the message should better be:
>>>"503 Bad sequence of commands. Not connected."
>>
>> As far as I understand, Quit should _not return any error when not
>
>>> FLastResponse := '200 OK not connected';
>>
>> A "200" answer mean OK, let's continue.
>> Probably the message should better be:
>>"503 Bad sequence of commands. Not connected."
>
> As far as I understand, Quit should _not return any error when not
> connected,
Yes, it looks reas
Quit should _not return any error when not connected,
wasn't it handled in other classes the same?
>
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
>
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS su
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, January 14, 2006 11:44 AM
Subject: Re: [twsocket] TFtpClient - Quit never returns when not connected!
> Nonsense I mean:
>
> procedure TCustomFtpCli.SendCommand(Cmd : String)
Nonsense I mean:
procedure TCustomFtpCli.SendCommand(Cmd : String);
begin
if Assigned(FOnCommand) then
FOnCommand(Self, Cmd);
TriggerDisplay('> ' + Cmd);
if FControlSocket.State = wsConnected then
FControlSocket.SendStr(Cmd + #13 + #10)
else begin // Quit when not
Hi,
Calling QUIT when not connected never returnes.
How to fix it? I added code below in SendCommand is this OK?
procedure TCustomFtpCli.SendCommand(Cmd : String);
begin
if Assigned(FOnCommand) then
FOnCommand(Self, Cmd);
TriggerDisplay('> ' + Cmd);
if FControlSocket.State = w
> However, does anyone have a small sample of code to retrieve a
> directory, and - for example - place the contents into a listbox?
You need to parse the directory listing returned, there are two common
formats and several more less common. There are some functions at
http://www.smatters.com/
Hi all,
what is the correct implementation of retrieving a directory when using
ftp...Async functions? My program structure is similar to the sample files
(case RqType of... ftpOpenAsync: FtpClient.User; ... end;), so it wouldn't be
hard for me to understand. What I've found is the option to us
> What's the best way to detect if a timeout has occurred in a TFtpClient
> operation?
A TTimer.
--
[EMAIL PROTECTED]
http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http:/
Hi All,
What's the best way to detect if a timeout has occurred in a TFtpClient
operation?
Regards,
Keith Willis.
--
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
From: "Guillaume MAISON" <[EMAIL PROTECTED]>
>
>Woody, i would suggest :
>
> FTP1.UserName := edUser.Text;
> FTP1.Password := edPass.Text;
> FTP1.HostName := edURL.Text;
> try
> if FTP1.Connect then begin
> FTP1.TypeBinary;
> FTP1.TypeSet;
>...
>
>Binary and typeset are ftp commands
> Arno,
>
> I tried putting a call to TypeBinary just after filling in user,password and
> host name but before opening the connection and it didn't change anything.
>
> FTP1.UserName := edUser.Text;
> FTP1.Password := edPass.Text;
> FTP1.HostName := edURL.Text;
> FTP1.TypeBinary;
> FTP1.
From: "Arno Garrels" <[EMAIL PROTECTED]>
>Woody (TMW) wrote:
>> I am using the TFTPclient component in a small app I built for
>> maintaining my web pages and files. For a long time, everything worked
>> great. Well, I changed ISP's and so I had to move my web page over to the
>> new location. Now,
From: "Arno Garrels" <[EMAIL PROTECTED]>
>
>Do you explicitly call TypeBinary/TypeBinaryAsync?
>It is not enough to set property Binary only.
>
No, I don't. When and where should I call this?
Woody (TMW)
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.
Woody (TMW) wrote:
> I am using the TFTPclient component in a small app I built for
> maintaining my web pages and files. For a long time, everything worked
> great. Well, I changed ISP's and so I had to move my web page over to the
> new location. Now, whenever I upload my zip files to the ftp dir
I am using the TFTPclient component in a small app I built for maintaining my
web pages and files. For a long time, everything worked great. Well, I changed
ISP's and so I had to move my web page over to the new location. Now, whenever
I upload my zip files to the ftp directory, they seem to get
81 matches
Mail list logo