Professional Web Applications Themes

What does this warning mean? - PHP Development

Has anyone ever encountered this warning? Warning: ftp_put(): PORT command successful in /home/user/public_html/test.php on line 27 I get this warning when I try to use ftp_put() to upload a file to an FTP server. It uploads the file, but the file is empty (0 bytes). When I enable passive mode, it doesn't even upload anything and here is what it tells me: Warning: ftp_put(): php_connect_nonb() failed: Connection timed out (110) in /home/user/public_html/test.php on line 27 Warning: ftp_put(): Type set to I in /home/user/public_html/test.php on line 27 Has anyone come across either of these situations? If so, how did you solve ...

  1. #1

    Default What does this warning mean?

    Has anyone ever encountered this warning?

    Warning: ftp_put(): PORT command successful in
    /home/user/public_html/test.php on line 27


    I get this warning when I try to use ftp_put() to upload a file to an FTP
    server. It uploads the file, but the file is empty (0 bytes).

    When I enable passive mode, it doesn't even upload anything and here is what
    it tells me:

    Warning: ftp_put(): php_connect_nonb() failed: Connection timed out (110) in
    /home/user/public_html/test.php on line 27
    Warning: ftp_put(): Type set to I in /home/user/public_html/test.php on line
    27

    Has anyone come across either of these situations? If so, how did you solve
    the problem? I desperately need to know why ftp_put() will not work and I
    have been trying to figure it out for a while. I'd appreciate any ideas.


    Tristan Cuschieri Guest

  2. #2

    Default Re: What does this warning mean?


    "Tristan Cuschieri" <tristanx3rogers.com> wrote in message
    news:dTsVc.26$flF.24news04.bloor.is.net.cable.rog ers.com...
    > Has anyone ever encountered this warning?
    >
    > Warning: ftp_put(): PORT command successful in
    > /home/user/public_html/test.php on line 27
    >
    >
    > I get this warning when I try to use ftp_put() to upload a file to an FTP
    > server. It uploads the file, but the file is empty (0 bytes).
    >
    > When I enable passive mode, it doesn't even upload anything and here is what
    > it tells me:
    >
    > Warning: ftp_put(): php_connect_nonb() failed: Connection timed out (110) in
    > /home/user/public_html/test.php on line 27
    > Warning: ftp_put(): Type set to I in /home/user/public_html/test.php on line
    > 27
    >
    > Has anyone come across either of these situations? If so, how did you solve
    > the problem? I desperately need to know why ftp_put() will not work and I
    > have been trying to figure it out for a while. I'd appreciate any ideas.
    >
    >
    Ask the sysAdmin on the FTP server to look at the log.

    HTH

    -Rb

    Rob Blanchard Guest

Similar Threads

  1. Warning!!
    By tobasco in forum Ruby
    Replies: 0
    Last Post: September 25th, 09:21 AM
  2. Odd Warning in SP
    By PM \(pm3iinc-nospam\) in forum IBM DB2
    Replies: 1
    Last Post: August 8th, 06:40 PM
  3. WARNING ABOUT THE SMART WARNING!
    By PaulC in forum Windows XP/2000/ME
    Replies: 0
    Last Post: July 18th, 08:16 PM
  4. What to do about Warning???
    By Epiphany2B in forum Windows XP/2000/ME
    Replies: 5
    Last Post: July 18th, 07:46 PM
  5. warning - g o o g l e c r a c k . com
    By warning in forum Microsoft Access
    Replies: 1
    Last Post: July 11th, 04:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139