fixed (s)ftp file download