J
J
JoveLebedev2016-04-08 13:55:46
linux
JoveLebedev, 2016-04-08 13:55:46

Why don't ftp_fput && ftp_put work?

$tf = tmpfile();
    fwrite($tf, $h);
    rewind($tf);
    ftp_fput($fc,$patch,$tf,FTP_ASCII)) //ERROR!

Why isn't the send progressing?
$php_errormsg contains "ftp_fput(): Type set to: ASCII."
Tried to change to FTP_BINARY, then such error "ftp_fput(): Type set to: Binary."

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2016-04-08
@IceJOKER

stackoverflow.com/questions/6147806/php-ftp-put-wa...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question