472,351 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,351 software developers and data experts.

How to Q: Uncompressing ~400K files on Apache Server

How to Q: Uncompressing ~400K files on Apache Server

Hello All,

I have ~400K html files on my local XP machine and I’d like to
compress the files, upload them onto my host (apache - pair.com) and
uncompress them there.

I’ve done this with less files (~10K) before – using ssh, putty and
unzip command. I seem not to be able to use the same method as ZIP
format will not accept such a large number of files.

Any suggestions on what options I have?

Thanks,

SS
Sep 4 '08 #1
5 2251
..oO(se*********@gmail.com)
>How to Q: Uncompressing ~400K files on Apache Server

Hello All,

I have ~400K html files on my local XP machine and I’d like to
compress the files, upload them onto my host (apache - pair.com) and
uncompress them there.

I’ve done this with less files (~10K) before – using ssh, putty and
unzip command. I seem not to be able to use the same method as ZIP
format will not accept such a large number of files.

Any suggestions on what options I have?
Split the files (10x40K or so) or try another packer like 7zip.

Micha
Sep 4 '08 #2
On Sep 4, 4:13*pm, senadsli...@gmail.com wrote:
How to Q: Uncompressing ~400K files on Apache Server

Hello All,

I have ~400K html files on my local XP machine and I’d like to
compress the files, upload them onto my host (apache - pair.com) and
uncompress them there.

I’ve done this with less files (~10K) before – using ssh, putty and
unzip command. I seem not to be able to use the same method as ZIP
format will not accept such a large number of files.

Any suggestions on what options I have?
Your options will depend on what your host allows. I am on Unix/Linux/
Apache. My host provides easy to use compression for zip, gzip, and
bzip2. It also provides decompression for these and some other
compressed files you wish to upload. Gzip is a favorite on Apache
servers. The program 7-zip as suggested to you will allow use of these
formats and more on your computer. It is free and can be downloaded at
http://www.7-zip.org/ .

Some of the better ftp agents also may help. I use CuteFTP7 Pro. For
instance you may have a folder that contains a huge number of files,
and you are tempted to zip it to avoid having to upload many files.
When this does not work for whatever reason, you can open the folder
you want to upload and highlight blocks of files that are not too
excessive. Then you just select where on the server you want to upload
the files on another pane of the FTP agent. You hit the upload button
and you may leave and do something else. The FTP agent automatically
uploads all of the files you have highlighted and uploads two files at
once when the server is not too busy and allows multiple connections.
The FTP agent reconnects when the connection is broken, and it takes a
fairly bad problem for it to give up uploading. If it does have a
problem, you at least have some of the files you highlighted uploaded
and do not have to start all over.

Also worth noting is your isp. Even for the fastest DSL and cable
connections, upload usually is much slower than download. Some isps
have a time limit at which the disconnect from you server. If you have
a huge file, it might not be able to upload within this time limit no
matter if the file is zipped or not.
Sep 5 '08 #3
se*********@gmail.com wrote:
How to Q: Uncompressing ~400K files on Apache Server

Hello All,

I have ~400K html files on my local XP machine and I’d like to
compress the files, upload them onto my host (apache - pair.com) and
uncompress them there.

I’ve done this with less files (~10K) before – using ssh, putty and
unzip command. I seem not to be able to use the same method as ZIP
format will not accept such a large number of files.

Any suggestions on what options I have?

Thanks,

SS
This issue doesn't seem to have anything to do with PHP, but there are
other compression algorithms available besides ZIP, such as gzip or
bzip2 (both available on *nix).

--
Curtis
Sep 5 '08 #4
On 4 Sep, 22:13, senadsli...@gmail.com wrote:
How to Q: Uncompressing ~400K files on Apache Server

Hello All,

I have ~400K html files on my local XP machine and I’d like to
compress the files, upload them onto my host (apache - pair.com) and
uncompress them there.

I’ve done this with less files (~10K) before – using ssh, putty and
unzip command. I seem not to be able to use the same method as ZIP
format will not accept such a large number of files.

Any suggestions on what options I have?

Thanks,

SS
Why? ssh will compress on the fly.

C.
Sep 5 '08 #5
Hi,

C. (http://symcbean.blogspot.com/) wrote:
I’ve done this with less files (~10K) before – using ssh, putty and
unzip command. I seem not to be able to use the same method as ZIP
format will not accept such a large number of files.
[...]
Why? ssh will compress on the fly.
not by default, though.

Otherwise, I agree. Just use WinSCP (or similar), configure it to use
compression.

-hwh
Sep 5 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Titus Cheung | last post by:
Hello, Just installed Apache and PHP. Edited the .conf file for the appropariate addtype lines, and Apache itself is working. However, when I...
2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed...
2
by: Harold Ensle | last post by:
Has anyone ever had this problem? I have been compiling servlet files, correcting them, recompiling them and seeing the changes on the next URL...
4
by: MLH | last post by:
A programmer developed an AMP (Apache/MySQL/PHP) application for me. When he was done, he sent me the PHP files and the MySQL dump file. Now, when...
3
by: Oliver | last post by:
Hello! I am really stuck... I have searched the whole internet to find a dll or a API which I can use in .NET C# to uncompress all the major...
3
by: Dean Richardson | last post by:
Hi, I'm having trouble uploading files via a PHP script. Whenever I upload a file greater than 10K, the file gets corrupted. However, text files...
3
by: ManWithNoName | last post by:
Hi guys. I’m still occupied with school, however, I can’t quite help thinking about a part of my project that I’m very curious about. I want to...
24
by: Gary Hasler | last post by:
I want apache to parse all .html files for php code. Our 'real' web server is rented from ICDsoft ( php 5 on Apache on Linux whatever), and their...
6
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf,...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.