Forum Moderators: open

Message Too Old, No Replies

.js files

         

indisource

4:09 pm on Aug 21, 2005 (gmt 0)

10+ Year Member



Hi,

I am trying to extract a zip file that contains .js files to upload it onto my website.

I am able to see .js files inside the zip file. But when I extract the file, the .js files are "missing" while the rest of the files (.htm and image files) are getting extracted.

Please can someone suggest what is happening to the .js files during extraction? What settings should be checked in my computer to work with .js files?

Thanks in advance.

JAB Creations

4:15 pm on Aug 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well it could be a few things. Do you have file extensions turn on in Windows? That's a dumb default setting that I never understood.

Also does this zip file have folders? If you use something like (I think pkzip) it will NOT maintain folder structure. This means if you have files in folders all inside of that ZIP, it will just try to dump everything in to the same folder.

I suggest using Window's Compressed (zipped) Folders. Right click on the ZIP file, click properties, then the change button and choose "Compressed (zipped) Folders".

To turn on file extensions in Windows, open ANY folder (such as My Computer) and then click on Tools menu (At the top) and then at the bottom of that menu FOLDER OPTIONS. Click the View tab at the top, then half way down you'll see "Hide extensions for known file types". Make sure that does NOT have a check. If it does, uncheck it, click ok, and then you should be able to see file extensions.

If that doesn't work, sticky me a link to where you're downloading this zip file and I'll try to help you out.

mack

4:16 pm on Aug 21, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



If you are using winzip there is an option to allow or not allow files to be extracted from a zip archive when they have certain file extensions (.js, .exe etc). There may be an option "do not ask again" within this dialoge.

Just an idea.

Mack.

indisource

6:52 pm on Aug 21, 2005 (gmt 0)

10+ Year Member



Thanks for your messages. I got it working by 'unblocking' files from my computer.