changes to ftp command to use the location parameter