Creating Linux dot files in Windows

Ever tried creating a file Linux style dot file like .htaccess or .gitignore in Windows Explorer? It gives you a “You must type a file name.” error message. This might lead people to think that Windows doesn’t support these file names. If you use a command line, you know that this is definitely possible in Windows. In fact, you can even create dot files in Windows Explorer quite easily with this little know trick. To create a filename that start with a period “.” but has no extension, like .txt, simply add a period to the end of the filename. For … Continue reading

Setting Up Pure-FTPd in Ubuntu

vsFTPd, ProFTPD and PureFTPd are great choices for an FTP server that all work well. Each has a GUI applications available to help manage settings. However PureFTPd is lightweight, supports MLST/MLSD, supports virtual folders using symbolic links (symlinks) and supports the SITE UTIME command required to synchronize file date/time stamps when you transfer them. It is therefore the FTP server that typically I recommend on Linux. Installing Pure-FTPd To install PureFTPd in Ubuntu (and probably most Debian based releases), execute the following command and a terminal/shell prompt: sudo apt-get install pure-ftpd By the way, if for any reason you mess-up the Pure-FTPD installation and want to start over, you can uninstall … Continue reading

Setting up OpenSSH / SFTP on Ubuntu

OpenSSH includes an SFTP server which is enabled by default. This is a secure approach which use a single port and normal Linux user accounts and passwords for authentication. It also supports date/time stamp synchronization since you are actually copying files over an SSH connection unlike FTP. While a great solution, it may not be ideal for public access, a large user base, or anonymous access. Suffice to say that there are a significant number of security considerations that need to be taken into account when implementing such a solution. For example, do you need a log of file transfers? Installing … Continue reading

Installing and Configuring ProFTPD

[Note that the following instructions have not been fully tested.] To install ProFTPd on Ubuntu (or most Debian based) Linux, execute the following commands.  Although highly recommended, only the first command should be used if you don’t have a GUI desktop installed on your server: sudo apt-get install proftpd Installing a GUI Manager for ProFTPd Just a few short commands will get you there. sudo apt-get install gadmin-proftpd sudo rm /etc/proftpd/proftpd.conf Be sure to see the note above regarding setting gksu-properties or you will not be able to run gadmin-proftpd. The first time you start gadmin-proftpd, you will need to configure a few settings. … Continue reading