Changed logic of ftp storage