Copying contents of a server folder to another server folder

Thread Solved

Join Date: Oct 2007
Posts: 260
Reputation: Venom Rush is an unknown quantity at this point 
Solved Threads: 2
Venom Rush's Avatar
Venom Rush Venom Rush is offline Offline
Posting Whiz in Training

Copying contents of a server folder to another server folder

 
0
  #1
Jul 3rd, 2008
Hi there

I'd like to know if this is at all possible...I'm sure it is but I haven't been able to find a single function that would do this in php.net's manual. The only function I've found is the copy() function but that only copies a single file or folder. I thought of maybe reading the contents of the folder with a php function and then using the data to move each file individually but I'm not able to find a function that reads contents of a folder.
This user has a spatula. We don't know why, but we are afraid.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 260
Reputation: Venom Rush is an unknown quantity at this point 
Solved Threads: 2
Venom Rush's Avatar
Venom Rush Venom Rush is offline Offline
Posting Whiz in Training

Re: Copying contents of a server folder to another server folder

 
0
  #2
Jul 3rd, 2008
Found my solution...the great and wonderful (to me at least ) scandir() function.
This user has a spatula. We don't know why, but we are afraid.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC