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
Dirge of Cerberus
Forum Commoner
Posts: 38 Joined: Mon Nov 20, 2006 9:01 pm
Post
by Dirge of Cerberus » Sun Mar 18, 2007 7:28 pm
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 » Mon Mar 19, 2007 9:02 pm
I tried that. My host (the one that needs to be backed up) won't allow outbound connections.
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Tue Mar 20, 2007 2:29 am
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?
Dirge of Cerberus
Forum Commoner
Posts: 38 Joined: Mon Nov 20, 2006 9:01 pm
Post
by Dirge of Cerberus » Tue Mar 20, 2007 6:13 pm
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.
jwalsh
Forum Contributor
Posts: 202 Joined: Sat Jan 03, 2004 4:55 pm
Location: Cleveland, OH
Post
by jwalsh » Wed Apr 04, 2007 8:46 pm
Maybe I'm missing something... but if you can't get an FTP connection, you won't be able to download anything... even subdirectories.