Check for availability of ftp extension
Use universal basename
List real files from remote ftp server
Add functions to return files from backup server