Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-26-2007, 12:30 AM   #1
Registered: Jul 2005
Posts: 273

Rep: Reputation: 31
how to force pure-ftp to not use ascii

Unless there is a good reason, what is / is there, a line I can add to pure-ftpd.conf to stop it from allowing ascii connections? I'd like it to do everything in binary. Everytime someone tries to upload images, or if they have a skaky connection, the file transfer stops, or doesn't upload correctly.

Old 07-26-2007, 07:44 AM   #2
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,203

Rep: Reputation: 265Reputation: 265Reputation: 265

The server has the option, it's called "--without-ascii". But I think the putre-ftpd.conf file can vary from distro to distro, so I'm not sure what should be there. On a Debian Etch server I have, it has a directory instead of a configuration file, kind of like how Apache2 does it instead of Apache1's single file.

Read a bit more, and it seems like it's a compile option, not a runtime option. So I think you need to compile it yourself. Passing --without-ascii to ./configure should do it I think.

Last edited by Guttorm; 07-26-2007 at 07:46 AM.
Old 07-26-2007, 08:34 AM   #3
Registered: Jul 2005
Posts: 273

Original Poster
Rep: Reputation: 31
Thanks, I'll give it a shot.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pure-ftp paskari Linux - Networking 1 09-24-2005 04:33 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 06:11 AM
pure-ftp zaicheke Linux - Software 0 08-02-2004 05:57 PM
Pure FTP quozt Linux - General 1 08-27-2003 12:50 AM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 09:23 AM

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration