2 outta 3 ain't bad....but why is ftp_put() failing...?
-
This is an odd error and I hope someone has seen it before. I have a script that is called from other scripts. It also runs from the commandline and is used to ftp files to various destinations. One is to a google upload site and it looks to work 2 out of 3 runs with one time reporting this error Warning: ftp_put(): '': command not understood. Using a google search, I have found reference to "ftp_put(): 'STOR':" errors but nothing on the empty string I have. What else gets me is this does not fail always, just once in a while. I can use the same parameters too...sometimes it fails but usually it is good. ideas?
Chris J www.redash.org
-
This is an odd error and I hope someone has seen it before. I have a script that is called from other scripts. It also runs from the commandline and is used to ftp files to various destinations. One is to a google upload site and it looks to work 2 out of 3 runs with one time reporting this error Warning: ftp_put(): '': command not understood. Using a google search, I have found reference to "ftp_put(): 'STOR':" errors but nothing on the empty string I have. What else gets me is this does not fail always, just once in a while. I can use the same parameters too...sometimes it fails but usually it is good. ideas?
Chris J www.redash.org
-
Reading the comments in the PHP Manual ... http://php.net/manual/en/function.ftp-put.php[^] you are not the only one to suffer. In the comments various possible solutions are suggested. Let us know which, if any, provides a better answer.
I will have to get back to you in a few, this got pushed back by two other projects....grrrr! Thanks for the response tho.
Chris J www.redash.org