From the command prompt, im trying to FTP an entire directory to my local machine. It needs to go through all the sub directories as well. How could I do that?<br /><br />Thanks,<br />-Jacques<!--content-->
Why not zip the contents and ftp a single file? Or if you have access to ncftpput you can use the -R recursive command. <a href="http://www.ncftp.com/ncftp/doc/ncftpput.html" target="_blank">See instructions</a><!--content-->
In the past, I used ZipArchive or something like that for PHP to zip up all the files before running the script to download all the files but for some reason, it stopped working, it think it was when the file size got too big, but im not sure.,. Here is the error that it gave.<br /><br />Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10619739 bytes)<br /><br />The weird thing is that it would give that error message at different points when I would try to run the script again.<br /><br />Thanks,<br />-Jacques<!--content-->
It is very possible that you have run out of web space in your account when trying to zip it up. Not knowing how much space your site is taking up and how much you have left it would be hard to answer that.<!--content-->
<!--quoteo(post=218173:date=Dec 27 2007, 08:24 AM:name=jgingras)--><div class='quotetop'>QUOTE (jgingras @ Dec 27 2007, 08:24 AM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=218173"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->think it was when the file size got too big, but im not sure.,.<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Try breaking it up into smaller groups of zip files. They all don't have to be in one file.<br /><!--content-->
The amount of disk space left on the account isn't a problem. We have several Gigs left and im only trying to zip up like 500 meg or something like that.<!--content-->
Open a ticket with the help desk and ask them to take a look. Never hurts.<!--content-->
Why not zip the contents and ftp a single file? Or if you have access to ncftpput you can use the -R recursive command. <a href="http://www.ncftp.com/ncftp/doc/ncftpput.html" target="_blank">See instructions</a><!--content-->
In the past, I used ZipArchive or something like that for PHP to zip up all the files before running the script to download all the files but for some reason, it stopped working, it think it was when the file size got too big, but im not sure.,. Here is the error that it gave.<br /><br />Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10619739 bytes)<br /><br />The weird thing is that it would give that error message at different points when I would try to run the script again.<br /><br />Thanks,<br />-Jacques<!--content-->
It is very possible that you have run out of web space in your account when trying to zip it up. Not knowing how much space your site is taking up and how much you have left it would be hard to answer that.<!--content-->
<!--quoteo(post=218173:date=Dec 27 2007, 08:24 AM:name=jgingras)--><div class='quotetop'>QUOTE (jgingras @ Dec 27 2007, 08:24 AM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=218173"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->think it was when the file size got too big, but im not sure.,.<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Try breaking it up into smaller groups of zip files. They all don't have to be in one file.<br /><!--content-->
The amount of disk space left on the account isn't a problem. We have several Gigs left and im only trying to zip up like 500 meg or something like that.<!--content-->
Open a ticket with the help desk and ask them to take a look. Never hurts.<!--content-->