Em Andamento

PHP script to compress files into many ZIP archives

I have 102,000 images in one directory on my Rackspace account. They are NOT sorted into sub-directories, they are all in one giant directory. I need to download these files from my server but I cannot because it seems most FTP programs cannot open/process a folder with 102,000 files.

The real problem here is that I do NOT have SSH access, this is why I believe I need to use PHP.

I need a PHP script (or whatever you recommend that might work better) to somehow take all 102,000 files and ZIP them into different archives that I can download. My main concern is PHP timeout because it is so big, so I am assuming that zipping all of them into one file is not possible.

I can place the PHP file in the directory and run it, I just need it written for me.

Some other ideas that my friend suggested to me:

- Get a list of the filenames and then just generate a script to pull them down one at a time.

- pull them down using wild cards that will get a small number each time A*.jpg, B*.jpg. etc.

- Use several cron jobs to put them in several similar sized zips using the wild cards like above.

Habilidades: PHP, Desenvolvimento de Software, Hospedagem Web

Ver mais: zip jobs, wild at work, web hosting jobs, programs for php web, ftp server zip, rackspace web, process server jobs, my friend is a giant\, download some files from, Archives, php script open file, php download zip files, php list directory files, use php, php list file directory, php download files zip, rackspace files php, download file php zip, file hosting download, php web ftp, cron jobs php, script download files ftp, php ssh, php download zip, download zip files

Acerca do Empregador:
( 1 comentário ) Fullerton, United States

ID do Projeto: #5109200

Premiar a:

acer2004sl

Hello, I got the idea, or classifying the images into alphabetic order, and stored them into zip files. The script will process all the files, and provide to you URL to download the zip files ( A-z, 0-9 ) Jus Mais

$40 USD em 0 dias
(133 Avaliações)
5.5

8 freelancers are bidding on average $35 for this job

KatrinaQ

Sometimes the zip function is disabled on the server so we will have to check first if it allows it at all.

$30 USD em 1 dia
(546 Comentários)
7.5
coolguyinus2004

8+ years of exp in programming in PHP/MYSQL 102,000/30000 files we can convert into 3 zip files and delete it frmo the folder. You should have PHP5 on your server and should have ZipArchive PHP class. check with Mais

$34 USD in 3 dias
(283 Comentários)
7.4
Eliteprog

Hi, First of all thanks for posting this project, I am available to provide you economical services for web development , I have read and understood all of project details. I am expert in software development and c Mais

$24 USD in 3 dias
(22 Comentários)
5.0
webskillssl

Hey there, I suggest that you use the cpanel ftp tool this might work. Else I can write the function for the download right now. Thanks, Damian

$45 USD in 3 dias
(4 Comentários)
3.4
Silviu28

Hello, I have 2 better ideas to download your images, instead to buld a php script. Hello, I have 2 better ideas to download your images, instead to buld a php script

$25 USD in 3 dias
(2 Comentários)
2.5
pratyatech

Hi I can complete your task with 100% accuracey and in time limit also i have a more than 2 years experience in this type of work also have many project which i had completed like this so if you want then i can s Mais

$55 USD em 1 dia
(2 Comentários)
2.4
mivean

Hi, I can create script for you or download all files locally and zip it for you to download. What ever you want. If you are interested please send me a message. Regards, Vedran

$30 USD em 1 dia
(0 Comentários)
0.0