[fix][#30747] FTP layer throwing error on update (Fix #1070)