the same bugfix for all ftp methods