PHP and FTP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johnny

    PHP and FTP

    Does the FTP capability of PHP require that the server it is used on have
    some kind of FTP installed or is it fully self-contained?

    Thanks


  • ZeldorBlat

    #2
    Re: PHP and FTP

    On Jun 12, 8:54 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
    Does the FTP capability of PHP require that the server it is used on have
    some kind of FTP installed or is it fully self-contained?
    >
    Thanks
    That depends. What "FTP capability" are you referring to?

    Comment

    • Benjamin

      #3
      Re: PHP and FTP

      On Jun 12, 7:54 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
      Does the FTP capability of PHP require that the server it is used on have
      some kind of FTP installed or is it fully self-contained?
      PHP can connect to any FTP server as a client but you need a seperate
      server if you want to server files.
      >
      Thanks

      Comment

      • Johnny

        #4
        Re: PHP and FTP


        "ZeldorBlat " <zeldorblat@gma il.comwrote in message
        news:1181698232 .511572.180430@ i38g2000prf.goo glegroups.com.. .
        On Jun 12, 8:54 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
        Does the FTP capability of PHP require that the server it is used on
        have
        some kind of FTP installed or is it fully self-contained?

        Thanks
        >
        That depends. What "FTP capability" are you referring to?
        >
        umm... the ftp capability of PHP:


        is there more PHP FTP that I am missing?

        I guess what I'm asking is does PHP use host functionality for implementing
        FTP, much like you need a mail server for PHP to do mail...


        Comment

        • Johnny

          #5
          Re: PHP and FTP


          "Benjamin" <musiccompositi on@gmail.comwro te in message
          news:1181701148 .298923.67800@o 11g2000prd.goog legroups.com...
          On Jun 12, 7:54 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
          Does the FTP capability of PHP require that the server it is used on
          have
          some kind of FTP installed or is it fully self-contained?
          PHP can connect to any FTP server as a client but you need a seperate
          server if you want to server files.

          Thanks
          >
          >
          So it doesn't need localhost FTP functionality then? It would work just fine
          to get files from anotyher server via FTP from on a server that had say
          apache but no FTP daemon?


          Comment

          • ZeldorBlat

            #6
            Re: PHP and FTP

            On Jun 12, 11:00 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
            "ZeldorBlat " <zeldorb...@gma il.comwrote in message
            >
            news:1181698232 .511572.180430@ i38g2000prf.goo glegroups.com.. .On Jun 12, 8:54 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
            Does the FTP capability of PHP require that the server it is used on
            have
            some kind of FTP installed or is it fully self-contained?
            >
            Thanks
            >
            That depends. What "FTP capability" are you referring to?
            >
            umm... the ftp capability of PHP:http://us2.php.net/manual/en/ref.ftp.php
            >
            is there more PHP FTP that I am missing?
            >
            I guess what I'm asking is does PHP use host functionality for implementing
            FTP, much like you need a mail server for PHP to do mail...
            So you know where the FTP functions are documented in the manual?
            Then you should also have seen the following on that same page:

            "No external libraries are needed to build this extension."

            Comment

            • Johnny

              #7
              Re: PHP and FTP


              "ZeldorBlat " <zeldorblat@gma il.comwrote in message
              news:1181705123 .535809.91250@g 37g2000prf.goog legroups.com...
              On Jun 12, 11:00 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
              "ZeldorBlat " <zeldorb...@gma il.comwrote in message

              news:1181698232 .511572.180430@ i38g2000prf.goo glegroups.com.. .On Jun
              12, 8:54 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
              Does the FTP capability of PHP require that the server it is used on
              have
              some kind of FTP installed or is it fully self-contained?
              Thanks
              That depends. What "FTP capability" are you referring to?
              umm... the ftp capability of
              PHP:http://us2.php.net/manual/en/ref.ftp.php

              is there more PHP FTP that I am missing?

              I guess what I'm asking is does PHP use host functionality for
              implementing
              FTP, much like you need a mail server for PHP to do mail...
              >
              So you know where the FTP functions are documented in the manual?
              Then you should also have seen the following on that same page:
              >
              "No external libraries are needed to build this extension."
              >
              I already have it built that's not what I was asking.


              Comment

              • Toby A Inkster

                #8
                Re: PHP and FTP

                Johnny wrote:
                So it doesn't need localhost FTP functionality then? It would work just fine
                to get files from anotyher server via FTP from on a server that had say
                apache but no FTP daemon?
                If PHP is running on server A and trying to use FTP to fetch a file from
                server B, then:

                B needs an FTP daemon; A does not.

                --
                Toby A Inkster BSc (Hons) ARCS
                [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
                [OS: Linux 2.6.12-12mdksmp, up 109 days, 15:45.]

                URLs in demiblog

                Comment

                • Jerry Stuckle

                  #9
                  Re: PHP and FTP

                  Johnny wrote:
                  "ZeldorBlat " <zeldorblat@gma il.comwrote in message
                  news:1181698232 .511572.180430@ i38g2000prf.goo glegroups.com.. .
                  >On Jun 12, 8:54 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
                  >>Does the FTP capability of PHP require that the server it is used on
                  have
                  >>some kind of FTP installed or is it fully self-contained?
                  >>>
                  >>Thanks
                  >That depends. What "FTP capability" are you referring to?
                  >>
                  umm... the ftp capability of PHP:

                  >
                  is there more PHP FTP that I am missing?
                  >
                  I guess what I'm asking is does PHP use host functionality for implementing
                  FTP, much like you need a mail server for PHP to do mail...
                  >
                  >
                  FTP is not mail. You need a mail server on your system because mail is
                  handled asynchronously. FTP is synchronous. No server needed on the
                  client system.

                  --
                  =============== ===
                  Remove the "x" from my email address
                  Jerry Stuckle
                  JDS Computer Training Corp.
                  jstucklex@attgl obal.net
                  =============== ===

                  Comment

                  • Allodoxaphobia

                    #10
                    Re: PHP and FTP

                    On Tue, 12 Jun 2007 20:53:13 -0700, Johnny wrote:
                    "ZeldorBlat " <zeldorblat@gma il.comwrote in message
                    news:1181705123 .535809.91250@g 37g2000prf.goog legroups.com...
                    >On Jun 12, 11:00 pm, "Johnny" <removethis.huu an...@hotmail.c omwrote:
                    "ZeldorBlat " <zeldorb...@gma il.comwrote in message
                    "Johnny" <removethis.huu an...@hotmail.c omwrote:
                    Does the FTP capability of PHP require that the server it is used on
                    have some kind of FTP installed or is it fully self-contained?
                    >
                    That depends. What "FTP capability" are you referring to?
                    >
                    umm... the ftp capability of
                    PHP:http://us2.php.net/manual/en/ref.ftp.php
                    >
                    is there more PHP FTP that I am missing?
                    >
                    I guess what I'm asking is does PHP use host functionality for
                    implementing
                    FTP, much like you need a mail server for PHP to do mail...
                    >>
                    >So you know where the FTP functions are documented in the manual?
                    >Then you should also have seen the following on that same page:
                    >>
                    >"No external libraries are needed to build this extension."
                    >>
                    I already have it built that's not what I was asking.
                    Gee, I wonder if you could have TESTED it in the length of time it took
                    to stretch this thread this far along...

                    I'll introduce a new acronym: JFTI
                    (Upon further checking -- it ain't so new.)

                    Comment

                    Working...