Finally got FTP to work properly with dirs.