HostOnNet Blog

Setting ProFTPd default tranfer mode

Looking for Linux Server Admin or WordPress Expert? We can help.

By default ProFTPd transfer all files in BINARY mode. This will work fine for images, zip files, other data files.

When you upload scripts, mainly .pl and .cgi (perl scripts), you have to upload then in ASCII mode to get it working.

Many FTP clients are smart enough to upload .pl and .cgi files in ASCII mode.

If you prefer, you can set ProFTPd to start all transefer in ASCII mode. This can be done by editing /etc/proftpd.conf

DefaultTransferMode ascii

If you do this, make sure you upload all images and other binary data files in banary mode.

Posted in Windows. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.