[FIX] document_ftp: simplify code