PDA

View Full Version : slower download in passive mode


SotY
10-21-2004, 01:57 AM
Hi

I think that I have found a bug in FlashFXP 3.0 (build 1022 but I tried some older versions and it was the same) when you are using passive mode to download files. I got 3Mbits dsl link and when I download files from fast 100Mbits server in passive I can't get speed faster than ~200 KB/s and when I switch to active I can get 300-320 KB/s from same server. I don't have this kind of problem when I try to use some other ftp client (CuteFTP, Total Commander or windows ftp command). I have to use passive mode for some reasons so maybe there is some way to fix that and I could still use flasfxp ?

Some results in FlashFXP

Active mode:
Transferred: test.rar 4,108,434 bytes in 13.55 seconds (296.1 KB/s)

Passive mode:
Transferred: test.rar 4,108,434 bytes in 21.21 seconds (189.2 KB/s)

Hetfield
10-21-2004, 07:37 AM
At first i thought this was nonsense but i tried myself a couple of times and you're right! With some servers i get a difference of 100%. Never realized this and i surely think this is something that need to be looked at.

Joker
10-21-2004, 01:40 PM
Can also confirm this, pretty strange. But i thank you on the same time. Now i can download faster :)

bigstar
10-21-2004, 02:12 PM
I looked into this with Hetfield and I came up empty. I was not able to reproduce the same results he was. I reviewed the source code and I was unable to find anything that could explain this behavior. This is quite unusual.

MidKnight
10-21-2004, 02:49 PM
i gave this a quick test and same result as bigstar, i dont have time today to try more but i will tomorrow

Barough
10-22-2004, 07:46 AM
I haven't been able 2 reproduce it either......this is how it looked more or less all the time when i did about 10 d/l tests......


PASV Mode :
Transferred: test.rar 47,68 MB in 1 minutes 17 seconds (629,5 KB/s)


PORT Mode :
Transferred: test.rar 47,68 MB in 1 minutes 16 seconds (635,9 KB/s

SotY
10-24-2004, 11:35 PM
I don't know, maybe it has such bug on my dsl modem only (SpeedStream 5100 with built in router) but all other ftp clients work fine with max speed in passive and active modes so it's something wrong with FlashFXP for sure.

Here is my pc specs

FlashFXP v3.0, build 1022, [X]unregistered
OS [X] WinXP
Running behind NAT/router [X] Yes & Model [SpeedStream 5100 - public IP address for LAN device]
Running firewall [X] Yes, Name [Kerio Personal Firewall], Ver. [4.1.0] - no change when it's turned off
Running Antivirus [X] Yes, Name [NOD32 2.12.2] - no change when it's turned off
Network [X] xDSL

bigstar
10-25-2004, 07:06 AM
I have a SpeedStream 5100 dsl modem too, however passive mode isn't any slower. It must be something else.

Joker
10-29-2004, 10:34 AM
I tried BPftp client, and rush ftp and they all have the same thing incommon with flashfxp. so it doesnt seem to be a flashfxp specific problem?

As further test i tried to connect to dc in active mode and in passive.
When i use active i get faster downloads also.

Maybe there are some limitations somewhere?
atleast for users with adsl/vdsl

MxxCon
10-29-2004, 10:16 PM
I tried BPftp client, and rush ftp and they all have the same thing incommon with flashfxp. so it doesnt seem to be a flashfxp specific problem?sounds more like server implemenation?

Paraguay
10-30-2004, 11:33 AM
its a flashfxp problem, i went back to an older version of flashfxp i found on google in the 2.x, this caused speeds to go from 196-208 kb/sec (passive in 3.x) to 600-900 kb/sec in passive 2.x. There is a bug somewhere that is doing this.

bigstar
10-30-2004, 12:20 PM
So far we have not been able to find any evidence that this is a bug in v3.0. The majority of the code in question is identical to v2.x and most the differences have been ruled out as being buggy.

Apart from Sending PASV or PORT and opening or listening for a connection; the rest of the transfer routine shares the same code.

This is quite an unusual problem that is currently still under investigation.

mastyman
01-03-2005, 09:23 PM
i believe i also have this or a similar problem, however it only
seems to be with a few sites, i have done a lot of testing between the current and a old version i have installed. One ftp i tested approx 5 times with each client i got the following results

3.02.1045 i can only do 90k sec max
2.1.923 i can do 150-180k sec
bpftp 150-180k sec

this server is running ProFTPD 1.2.10 Server


i tested 3 other ftps, however the speeds were fairly close between the 2 versions, generally 2.1 seems a bit faster


* FlashFXP v3.02.1045 & 2.1.923 [X]registered
* OS [X] WinXP SP2
* Running behind NAT/router [X] Yes & Model [Nokia M11]
* Running firewall [X] No
* Running Antivirus [X] No
* Network [X] xDSL

MarcoX
01-04-2005, 01:22 PM
hello all :)

Ok, i have exactly the same prob with v3 :(

in some sites when i connecting with passive mode, my bandwith is limited... :( in one FTP for example i dl at 1 950ko/s , and with passive mode only 1 080ko/s !! ), same for upload ! :( , and the prob, is the passive mode is required to connect the site... : /
it's really a prob... :( (curious i tryed with v2 of flashfxp and upload is more limited but not the download....)

bigstar
01-04-2005, 01:54 PM
mastyman In FlashFXP v3.0.2.1045 Go into the Preferences / Advanced Tab / TCP/IP Buffer Size and increase/decrease the Receive buffer size and see if it helps your speed any.

Sebpouet
01-12-2005, 02:59 PM
i have try to increade or decrease the tcp ip buffer size, and i have not been able to see a real difference of speed.

Depending of the parameter i used, it was faster (or not) to reach the maximum speed.

i mean, sometime, it needs 3 seconds to reach high speed, and sometimes, around 10 to 15 seconds.

but maximal speed doesn't change significantly.

MarcoX
01-12-2005, 03:54 PM
Originally posted by bigstar
mastyman In FlashFXP v3.0.2.1045 Go into the Preferences / Advanced Tab / TCP/IP Buffer Size and increase/decrease the Receive buffer size and see if it helps your speed any.

nice !! i changed the IP Buffer Size ( 8192 => 15360) it working for me ! for the sites i didnt have the maximum upload speed (with passive mode). quite better now, i have the max. thx ;)

mastyman
01-13-2005, 01:09 AM
i dont seem to have a tcp ip buffer size in advanced?

MxxCon
01-13-2005, 01:30 AM
Originally posted by mastyman
i dont seem to have a tcp ip buffer size in advanced? then you are not using correct version

krylon419
01-25-2005, 08:05 PM
i have a similar problem. when i use fxp3 to say.. download linux iso's from a close edu, i can get around 240k. when i use fxp1.4.4 b849 to download the same files from the same edu, i get like 506k which is my max allowed by my isp. i dont have and limits enabled or anything. i dunno what causes this in v3 but it is annoying me and i paid for this program to work so what can i do? :confused: :confused:

Linkster
01-25-2005, 09:08 PM
download the latest beta (liveupdate), and then make sure to set your send/receive buffers as necessary for your connection.

bigstar
01-25-2005, 10:25 PM
Just a thought since you mention fxp1.4.4 b849, that release used PORT mode by default, are you sure it was using passive mode?

We're starting to see a trend with isps where port mode is faster than passive mode, At the moment we're not entirely sure why. It could be some sort of throttling scheme implemented by the isp.

SotY
01-25-2005, 11:32 PM
Originally posted by bigstar
We're starting to see a trend with isps where port mode is faster than passive mode, At the moment we're not entirely sure why. It could be some sort of throttling scheme implemented by the isp.

I didn't know that I'll get so much replies starting this topic... thx :) but I don't think that has something do with the isps cause other ftp clients work with the same speed in passive and active modes.

bigstar
01-25-2005, 11:56 PM
Using the latest beta build 1067 go into the preference and change the TCP/IP recv buffer to "default", it's the first entry in the list, when set to default it tells FlashFXP to use the windows default buffer size. Try that and see if it makes any difference.

However if that doesn't make any difference try changing the recv buffer to one of the other values until you find one that provides you with the best results.

Please let me know your results.

If you're a registered user you can download 1067 from the portal, the public release will be posted on our website within the next 24hrs.

krylon419
01-26-2005, 01:46 AM
Originally posted by bigstar
Just a thought since you mention fxp1.4.4 b849, that release used PORT mode by default, are you sure it was using passive mode?

both versions are set to use pasv mode.