|
Written by Andrew
|
|
Thursday, 01 May 2008 14:27 |
|
Generic FTP is a project that Ryan and I worked on. It is a powerful concept of a flexible, redundant FTP server that can run customizable actions on incoming files. It uses ProFTPd, a standard Linux FTP server, with MySQL extensions. Users are all stored in the database, rather than as UNIX level accounts, for added security. Actions are set on a per-directory basis - a number are provided such as copy the file to a windows server, rsync the file to a different server, etc. I also have a number of job-specific ones such as parsing EDI and CSV files, inserting data in to a database, etc. The provided php wrappers provide a really nice framework so that actions can be thrown together very easily and quickly, with out having to worry about logging, error handling, etc. which is all handled by the framework. Experimental code is also in place to allow redundancy, either through rsync or on a SAN/NAS/other shared storage. Redundancy is typically difficult to provide with FTP, and is very important when it is a major source of customer connectivity. Here it is on google code. |
|
Last Updated on Monday, 08 September 2008 15:15 |
|
|
Convert WSFTP to FileZilla |
|
|
|
|
Written by Andrew
|
|
Tuesday, 07 August 2007 00:00 |
|
Surprisingly enough FileZilla doesn't support importing from WSFTP. Every other solution I've found looses passwords, which was un-acceptable for me (my client had 200+ connections defined). WSFTP passwords are encrypted, but a little bit of reverse-engineering and you've got them. FileZilla, being open source, is easy to find the encryption keys for I wrote this script to parse the WSFTP configuration file and spit out a FileZilla .xml configuration file. It is in command-line php, so you'll need that first. Download this file and rename it to convert.php, then copy the WSFTP configuration file to the same directory and run it. |
|
Last Updated on Monday, 08 September 2008 22:11 |
|
|
|
|
|