Jump to content

How can I copy a directory?


tibberous

Recommended Posts

There's a couple examples of how to do it on Google, just search "php copy directory"

 

No. There isn't. I've been googling, and then yahoo'ing this for damn near 6 hours. And I'm trying to do it through ftp, not just through the file system, so "php copy directory" isn't going to get me shit.

Link to comment
Share on other sites

Dude,

I don't know if it will work because of security issues.  I tried for half a day at work to have files/directories copied from our web server to our file server (two different computers) and it would not have anything to do with it.  My boss and I had stabbed and stabbed at it until we came to the conclusion it may not be possible. 

 

The thing we did to get around it was setup xampp lite directory on the file server and ran the services from the webserver pc. Therefore file transfers were easy because we were handling them completely on the file server with only one php program being hosted from that pc. That was an odd situation and I don't know if that provides you with any insight on how to get around or solve it but let me know if you find anything.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.