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. how to copy

how to copy

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
comtutorialquestion
5 Posts 3 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.
  • U Offline
    U Offline
    udch
    wrote on last edited by
    #1

    how to copy directory from one webstie to other using ftp? like :- I am at http://ab.com Now i want to copy directory b of http://abc.com/a/b to http://ab.com/data/

    M L 2 Replies Last reply
    0
    • U udch

      how to copy directory from one webstie to other using ftp? like :- I am at http://ab.com Now i want to copy directory b of http://abc.com/a/b to http://ab.com/data/

      M Offline
      M Offline
      Marc Firth
      wrote on last edited by
      #2

      This should be what you need: http://phpsense.com/php/php-ftp-functions.html[^]

      Web Designer Portfolio | Surrey Web Design, Web Hosting & IT Support

      1 Reply Last reply
      0
      • U udch

        how to copy directory from one webstie to other using ftp? like :- I am at http://ab.com Now i want to copy directory b of http://abc.com/a/b to http://ab.com/data/

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

        You cannot transfer a file from one ftp to another ftp directly by any mean. For that you need to download that particular file and then upload it to another ftp address. For downloading and uploading you need to connect to ftp server. http://www.php.net/manual/en/ref.ftp.php[^] Try ftp_get and ftp_put method for download and upload. Hope this will help!

        Jinal Desai - LIVE Experience is mother of sage....

        U 1 Reply Last reply
        0
        • L Lost User

          You cannot transfer a file from one ftp to another ftp directly by any mean. For that you need to download that particular file and then upload it to another ftp address. For downloading and uploading you need to connect to ftp server. http://www.php.net/manual/en/ref.ftp.php[^] Try ftp_get and ftp_put method for download and upload. Hope this will help!

          Jinal Desai - LIVE Experience is mother of sage....

          U Offline
          U Offline
          udch
          wrote on last edited by
          #4

          Thanks for your help but problem is solved.

          L 1 Reply Last reply
          0
          • U udch

            Thanks for your help but problem is solved.

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

            Ok buddy...

            Jinal Desai - LIVE Experience is mother of sage....

            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