FTP Help: Subdirectories

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Dirge of Cerberus
Forum Commoner
Posts: 38
Joined: Mon Nov 20, 2006 9:01 pm

FTP Help: Subdirectories

Post by Dirge of Cerberus »

How do you get PHP to FTP (download) a directory AND it's subdirectories/files?
Dirge of Cerberus
Forum Commoner
Posts: 38
Joined: Mon Nov 20, 2006 9:01 pm

Post by Dirge of Cerberus »

Anyone?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Look at this user comment in the manual
Dirge of Cerberus
Forum Commoner
Posts: 38
Joined: Mon Nov 20, 2006 9:01 pm

Post by Dirge of Cerberus »

I tried that. My host (the one that needs to be backed up) won't allow outbound connections.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Dirge of Cerberus wrote:I tried that. My host (the one that needs to be backed up) won't allow outbound connections.
So what sort of answer are you expecting? :? 8O
Dirge of Cerberus
Forum Commoner
Posts: 38
Joined: Mon Nov 20, 2006 9:01 pm

Post by Dirge of Cerberus »

Ah. That was misworded. It can't make an FTP connection. It can only recieve connections.


Remote Server --FTP--> Site === OKAY.

Remote Server <--FTP-- Site === Doesn't work.
Dirge of Cerberus
Forum Commoner
Posts: 38
Joined: Mon Nov 20, 2006 9:01 pm

Post by Dirge of Cerberus »

Bump....
User avatar
jwalsh
Forum Contributor
Posts: 202
Joined: Sat Jan 03, 2004 4:55 pm
Location: Cleveland, OH

Post by jwalsh »

Maybe I'm missing something... but if you can't get an FTP connection, you won't be able to download anything... even subdirectories.
Post Reply