1828354 Members
2992 Online
109976 Solutions
New Discussion

Re: corrupted File?

 
SOLVED
Go to solution
Kyle D. Harris
Regular Advisor

corrupted File?

What do you do or what does it mean?

I downloaded a Standard developer Kit file (j2sdk1.4.2) and then ./j2sdk1.4.2 and it said it was unpacking it then right away said the file was corrupted and not to download it.
12 REPLIES 12
Jerome Henry
Honored Contributor
Solution

Re: corrupted File?

Most of the time the file you downloaded was really corupted on downloading. Re-downloading is a good try. Trying another download site sometimes helps...

hth

J
You can lean only on what resists you...
Kyle D. Harris
Regular Advisor

Re: corrupted File?

Thanks Jerome.

Also what does the color green stand for in RH 9? black is a file. Blue is a directory. but Green?
Alexander Chuzhoy
Honored Contributor

Re: corrupted File?

green means this is executable file- you can run it.
Jerome Henry
Honored Contributor

Re: corrupted File?

Tks Alexander.
It turns green when you have 'x' right on it.

J
You can lean only on what resists you...
Sergejs Svitnevs
Honored Contributor

Re: corrupted File?

grey regular file (usually a text file)
In a white background terminal window these filenames will appear black.

blue directory

green executable

cyan symbolic link
Often referred to as a symlink.

red archive
If an archive has an executable permission set it will appear green.

magenta graphic
If a graphic has an executable permission set it will appear green.

yellow block or character device

brown FIFO (named pipe)

Regards,
Sergejs
Ragu_1
Regular Advisor

Re: corrupted File?

We do not know how you downloaded the jdk file. `wget' is a good tool for downloading files from both http and ftp servers. I rate is as the best downloader ever!
Share and share alike
Kyle D. Harris
Regular Advisor

Re: corrupted File?

i just went to the website and downloaded it to /usr/src ...
Martin P.J. Zinser
Honored Contributor

Re: corrupted File?

Hello Kyle,

one good way to corrupt files is to download them in the wrong mode. If you use ASCII mode on such a file it will be corrupted during the
download.

Greetings, Martin
Kyle D. Harris
Regular Advisor

Re: corrupted File?

What about just downloaded them from the internet and saving file to disk (usr/src)
Stuart Browne
Honored Contributor

Re: corrupted File?

Martin's method can only happen if you are manually FTPing really, and by default, most Linux based FTP applciations set to binary by default.

Just re-download the file.
One long-haired git at your service...
Martin P.J. Zinser
Honored Contributor

Re: corrupted File?

Hello Stuart,

without being nit-picky, it also can happen with a web download if the server sends the wrong attributes ;-) Also he did not state his download method, so manual ftp is a a valid option.

Cheers, Martin
Stuart Browne
Honored Contributor

Re: corrupted File?

I didn't know about the browser choosing the wrong method, my apologies.

Is that a mozilla thing? (I have to admit I don't use it often)
One long-haired git at your service...