how to download using wget in binary mode - linux

I need to download *.tar.gz file from server but when I do that, I get an error

ERROR: The ./files.tic seems to be corrupted.

I think it is because it has been downloaded in ASCII mode, and I need to download in binary mode. How to run wget in binary mode? Or any other command to get binary file.

This file is from http, not ftp.


AFAIK the MIME type for the file does not change its contents. So you should be already getting the right representation of it. HTTP protocol does not have text/binary types for data. Data is data :)

See for further info.

Need Your Help

access vba string that references multiple numeric items in a form

vba ms-access access-vba ms-access-2007 ms-access-2010

So I am writing a string in VBA. It needs to use 2 different numeric variables from a form that the user clicked on. My code works great if I only use 1 variable, but I can't get the syntax correct...

Converting a querystring into an associative array

php query-string

In PHP, I need a function to convert a querystring from an URL, say: into a PHP associative array : array ['key1' => 'value1', 'key2' => 'value2...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.