Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th November 2005, 07:39 PM
0p3r4 Offline
Registered User
 
Join Date: Nov 2005
Posts: 3
Unhappy vsftpd - problems with text-file transfer

Hello everyone,

I have a problem that i just can't fix.

I have a FC4-box running vsftpd and i'm connecting to this server from a WinXP-box using Filezilla. My problem is this: When sending files like .exe, .rar, .avi, etc, etc i have a great upload speed, however, when i'm tryng to send text-files like .txt, .php, .html, and such it takes forever... i also get a delay in commands likte DELE and such some times..

This is driving me crazy, i've been googling the crap out of it without a solution as well as scanning trough the vsftpd-website for vsftpd.conf-lines that i might have missed.

I have also tried to edit the conf-file to use certain high ports and granting these ports access trough the firewall without a result, except getting another ftp-client to list the contained files correctly.

I would GREATLY appreciate any feedback i might get on this issue
  #2  
Old 13th November 2005, 07:03 PM
dcherry Offline
Registered User
 
Join Date: Apr 2005
Posts: 8
Are you using binary mode? If not, maybe the delay is because the CRLFs at the end of lines are being converted to LFs.
  #3  
Old 13th November 2005, 09:10 PM
sej7278 Offline
Registered User
 
Join Date: Sep 2004
Posts: 2,008
vsftpd doesn't actually have an ascii mode, it just fakes it in binary mode.

i don't know if this would be the problem with slow text files, in theory they should be faster as they would compress better than binary files (assuming ftp compresses text files like modems do).

also, lots of little files would be slower to read/write on the filesystem than large files - i'm assuming your binary files are larger and fewer than your text files.

i've transferred about 11gb of various files - iso's, .exe's, text etc. over vsftpd on my lan today, and i've seen pretty big variations - from a minimum speed of about 30mbps to a max of about 105mbps.

a solution might be to tar+bzip2 your text files into one big binary file......
  #4  
Old 15th November 2005, 04:15 PM
0p3r4 Offline
Registered User
 
Join Date: Nov 2005
Posts: 3
I have addeded the lines ascii_upload/download_enable=YES without any improvement.

I myself have been using the solution sej mentioned with sending archived files, however, the "ordinary" user don't have access to a shell and therefore won't be able to extract them.
  #5  
Old 15th November 2005, 06:46 PM
smfinley's Avatar
smfinley Offline
Retired Community Manager
 
Join Date: Jul 2004
Posts: 1,335
See the FTP server section here.
__________________
Stanton Finley
stanton-finley.net
  #6  
Old 20th November 2005, 01:15 PM
0p3r4 Offline
Registered User
 
Join Date: Nov 2005
Posts: 3
i think i solved the problem, i had set up the ftpd to use a min and max port for passive connection, however, i had managed to make the min port a lesser number then the maximum port, after changing this, this seems to work alot better ... clumsy of me
Closed Thread

Tags
problems, textfile, transfer, vsftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm losing it with vsftpd - 226 Transfer done (but failed to open directory). piergi Servers & Networking 3 10th January 2009 02:29 AM
Major startup problems; text file included, must be read NightmareCI Using Fedora 10 31st January 2005 06:07 PM


Current GMT-time: 16:12 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat