• Mac OS X,  Mac OS X Server,  Mac Security

    FTP On Lion Server

    Much has been made about the demise of FTP on OS X Server. Well, while it may be badly burned, it’s not dead yet. Let’s look at enabling FTP first on the server and then per share. Enable FTP on the Server The first thing to do on a server that you want to expose through FTP is enable tnftpd. To do so, open Workgroup Manager or Server and create a group that has user who you want to provide FTP services to. In this example we are going to assume a dedicated FTP server and open access to everyone, but feel free to swap out your group name for…

  • Windows Server

    Setting FTP Banners in IIS

    IIS is a pretty straight forward system to manage. One of the more common post-flight tasks for setups of IIS is to configure FTP banners. In Server 2003, this can be done by opening Internet Information Services (IIS) Manager from Start > Administrative Tools. Then, browse to the server name > FTP Sites > Default FTP Site (or the name of the one you would like to configure if you have multiple per server) and then click on the Properties for the site. At the FTP Site Properties pane, click on the Messages tab. Here, you can provide a Banner to be shown to unauthorized users, a Welcome page, to…

  • Mac OS X,  MobileMe

    Flow: Amazon S3, iDisk

    Flow is a nice little FTP client. But it also supports WebDAV and SFTP as well as Amazon’s S3 and mounting an iDisk from a Mobile Me account. Unlike JungleDisk it doesn’t seem to mount S3 as an actual disk in Mac OS X, but it can be used to take files from iDisk to S3, which is fairly interesting. Flow also supports discovering all of the local services over Bonjour, which can be pretty helpful. Overall, it’s a nice little application that’s pretty sleek and I look forward to seeing where they go with it.

  • Mac OS X Server

    Mac OS X Server: Sharing Files from the Command Line

    Mac OS X Server provides the sharing command.  You can create, delete and augment information for share points using sharing. To create a share point for AFP you can use the following command: sharing -a <PATH> -A <NAME> So let’s say you have a directory at /Shares/Public and you want to create a share point called PUBLIC.  You can use the following command: sharing -a /Shares/Public -A PUBLIC Now, the -a here will create the share for AFP but what if you want to create a share for other protocols?  Well, -F does FTP and -S does SMB.  Once created you can disable the share using the following command: sharing -r PUBLIC…

  • Mac OS X,  Ubuntu,  Unix

    FTP Command Line and Automation

    The ftp command that runs on a Mac is similar to that from any other platform, including Windows – and not much has changed with regard to FTP for a long, long time. When using FTP you will login to an FTP server, then issue some commands, one of which will kill your session to the host. The commands you issue during an FTP session are issued in an interactive mode of the shell, where you are actually running them against the target server ls – list the contents of a directory on the FTP server cd – change the working directory on the FTP server pwd – show the…

  • Mac OS X Server

    Reconfigure Xinetd to Eliminate FTP Wait in 10.3 Server

    Tthe FTP service uses RFC 931 for user identification, which isn’t supported in Mac OS X (why we’ll move on to other FTP servers in the future). To resolve, add the -I option in the xinetd configuration as you see here: service ftp { disable = no instances       = 100 socket_type     = stream wait            = no user            = root server          = /usr/libexec/xftpd server_args     = -aI groups          = yes }