Added ability to change the base path for FTP directories