Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. 2 outta 3 ain't bad....but why is ftp_put() failing...?

2 outta 3 ain't bad....but why is ftp_put() failing...?

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
toolshelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cjoki
    wrote on last edited by
    #1

    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

    L 1 Reply Last reply
    0
    • C cjoki

      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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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.

      C 1 Reply Last reply
      0
      • L Lost User

        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.

        C Offline
        C Offline
        cjoki
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups