ftp_put mode fix
ftp_put mode fix

ref https://github.com/peachpiecompiler/peachpie/issues/977

iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie