You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by Atul Gohad <ag...@gmail.com> on 2007/08/30 05:03:00 UTC

Problem when using accounts other than "admin"

Hi,

When trying out the apache ftp server, observed that for file transfers are
slow, when the user logged in is anyone other than the default "admin". This
difference is huge with respect to the overall time taken ( almost 4 times
slower)..Is there a specific cause for this to happen?

Attaching below the client transcripts -- Notice the difference in the
transfer rates for "guest" and "admin"... This was run on the same system ,
tried just a few minutes apart.

Do let me know in case any other information is required...

C:\Documents and Settings\Administrator>ftp 9.184.236.33
Connected to 9.184.236.33.
220 Service ready for new user.
User (9.184.236.33:(none)): guest
331 User name okay, need password for guest.
Password:
230 User logged in, proceed.
ftp> ls
200 Command PORT okay.
150 File status okay; about to open data connection.
README.txt
226 Closing data connection.
ftp: 12 bytes received in 0.02Seconds 0.75Kbytes/sec.
ftp> ls
200 Command PORT okay.
150 File status okay; about to open data connection.
DevTestCases.zip
README.txt
226 Closing data connection.
ftp: 30 bytes received in 0.00Seconds 30000.00Kbytes/sec.
ftp> get DevTestCases.zip
200 Command PORT okay.
150 File status okay; about to open data connection.
226 Transfer complete.
ftp: 263323471 bytes received in 55.22Seconds 4768.71Kbytes/sec.
ftp> bye
221 Goodbye.

C:\Documents and Settings\Administrator>ftp 9.184.236.33
Connected to 9.184.236.33.
220 Service ready for new user.
User (9.184.236.33:(none)): admin
331 User name okay, need password for admin.
Password:
230 User logged in, proceed.
ftp> ls
200 Command PORT okay.
150 File status okay; about to open data connection.
DevTestCases.zip
README.txt
226 Closing data connection.
ftp: 30 bytes received in 0.00Seconds 30000.00Kbytes/sec.
ftp> get DevTestCases.zip
200 Command PORT okay.
150 File status okay; about to open data connection.
226 Transfer complete.
ftp: 263323471 bytes received in 16.67Seconds 15794.35Kbytes/sec.
ftp> bye
221 Goodbye.
Thanks and Regards,
Atul Gohad.

RE: Problem when using accounts other than "admin"

Posted by "West, John C" <Jo...@CITIZENSBANK.com>.
Do you have the download rate throttled in pmuser.gen? 

FtpServer.user.anonymous.downloadrate=4800
FtpServer.user.anonymous.uploadrate=4800
FtpServer.user.admin.downloadrate=0
FtpServer.user.admin.uploadrate=0

('0' means no limit)

I use many different users and see no difference in transfer speeds when
they are set up the same way.

 

-----Original Message-----
From: Atul Gohad [mailto:agohad@gmail.com] 
Sent: Thursday, August 30, 2007 1:03 AM
To: Niklas Gustavsson; ftpserver-dev@incubator.apache.org
Subject: Problem when using accounts other than "admin"

Hi,

When trying out the apache ftp server, observed that for file transfers
are slow, when the user logged in is anyone other than the default
"admin". This difference is huge with respect to the overall time taken
( almost 4 times slower)..Is there a specific cause for this to happen?

Attaching below the client transcripts -- Notice the difference in the
transfer rates for "guest" and "admin"... This was run on the same
system , tried just a few minutes apart.

Do let me know in case any other information is required...

C:\Documents and Settings\Administrator>ftp 9.184.236.33 Connected to
9.184.236.33.
220 Service ready for new user.
User (9.184.236.33:(none)): guest
331 User name okay, need password for guest.
Password:
230 User logged in, proceed.
ftp> ls
200 Command PORT okay.
150 File status okay; about to open data connection.
README.txt
226 Closing data connection.
ftp: 12 bytes received in 0.02Seconds 0.75Kbytes/sec.
ftp> ls
200 Command PORT okay.
150 File status okay; about to open data connection.
DevTestCases.zip
README.txt
226 Closing data connection.
ftp: 30 bytes received in 0.00Seconds 30000.00Kbytes/sec.
ftp> get DevTestCases.zip
200 Command PORT okay.
150 File status okay; about to open data connection.
226 Transfer complete.
ftp: 263323471 bytes received in 55.22Seconds 4768.71Kbytes/sec.
ftp> bye
221 Goodbye.

C:\Documents and Settings\Administrator>ftp 9.184.236.33 Connected to
9.184.236.33.
220 Service ready for new user.
User (9.184.236.33:(none)): admin
331 User name okay, need password for admin.
Password:
230 User logged in, proceed.
ftp> ls
200 Command PORT okay.
150 File status okay; about to open data connection.
DevTestCases.zip
README.txt
226 Closing data connection.
ftp: 30 bytes received in 0.00Seconds 30000.00Kbytes/sec.
ftp> get DevTestCases.zip
200 Command PORT okay.
150 File status okay; about to open data connection.
226 Transfer complete.
ftp: 263323471 bytes received in 16.67Seconds 15794.35Kbytes/sec.
ftp> bye
221 Goodbye.
Thanks and Regards,
Atul Gohad.
-----------------------------------------
Use of email is inherently insecure. Confidential information,
including account information, and personally identifiable
information, should not be transmitted via email, or email
attachment.  In no event shall Citizens or any of its affiliates
accept any responsibility for the loss, use or misuse of any
information including confidential information, which is sent to
Citizens or its affiliates via email, or email attachment. Citizens
does not guarantee the accuracy of any email or email attachment,
that an email will be received by Citizens or that Citizens will
respond to any email. 
 
This email message is confidential and/or privileged. It is to be
used by the intended recipient only.  Use of the information
contained in this email by anyone other than the intended recipient
is strictly prohibited. If you have received this message in error,
please notify the sender immediately and promptly destroy any
record of this email.