PDA

View Full Version : Uploading Many Files


marvin_reboot
12-18-2000, 01:49 PM
I have recently completed uploading a relatively large quantity of files (9300) to my website, which took about 20 hours using CuteFTP. Apparently, the processing of each individual file was what took time since even the largest file was transferred in 1 second. I was bumped a few times but that is not a major consideration either (and consequently lost a small amount of time that way).

Anyway... on to the question:

Is it possible to "zip" a collection of files (and the directory structure), upload the zipped item and then "unzip" the collection on the server? Essentially, I would like to do something I can do locally (i.e., on my computer) using WinZip8. That is, I can zip a directory (with subdirectories and files) and unzip it somewhere else and have the entire structure reproduced (overwriting is not a concern, BTW). Is there a program or method that will do that through FTP.

Forgive my ignorance if there is something really simple that I've overlooked. If I remember correctly, UNIX has a zip function but I have no idea how to use it. Any guidance would be appreciated. :)

Bob
12-18-2000, 01:55 PM
Hello,

The below linked tutorial from Aota.net should probably give you the answers that you are looking for:
http://www.aota.net/Telnet/unzip.php3

Hope this helps :)

Have a Good One
Bob

mike_w
12-23-2000, 01:11 PM
One comment about that FAQ -
shouldn't the unzip example include the -a option to detect text files? I know that on my linux box unzip without the -a option doesn't correctly translate CR/LF's. A cat -A on the files shows a bunch of ^M's which will kill cgi scripts.[nbsp]