How To Download Torrent Bigger Than 2gb Online

  1. How To Download Torrent Bigger Than 2gb Online Games
  2. How To Download Torrent Bigger Than 2gb Online Game
  3. How To Download Torrent Bigger Than 2gb Online Full
  4. How To Download Torrent Bigger Than 2gb online, free
  5. How To Download Torrent Bigger Than 2gb Online Windows 10

There are many sites that will allow you to download torrent files bigger than 1GB. To download more than 1GB you will just need to create a free account. Source: TOP 5 ZBIGZ alternatives 2017 For High Speed Torrent Downloads. These sites allow you to download torrent files of any size. There are limitation on free accounts.

I ve been trying to zip all the files in partcular directory into a single zip file and then transfer it to destination server. command i ve used is like

the problem is sometimes the total size of all the files is reaching > 2GB so i'm getting below warning

and files are not getting zipped .Is there is anyother way to do it, without getting the above error? Please help me out!!

prabhakar

migrated from stackoverflow.comFeb 28 '12 at 12:03

This question came from our site for professional and enthusiast programmers.

3 Answers

Zip is not known to be able to create ZIPs greater than 2GB in size. For better or worse, Linux has other tools such as tar, gzip, bzip and others that you can use which have a much higher limit on what they can create. However, if you insist on sticking to ZIP, you could try and use the --split-size directive like so:

zip -j --split-size 2g $zipfilename *

In case you're wondering about the alternatives...

Creating with Tar

tar -cf name_of_zip.tar directory/

How to download torrent bigger than 2gb online, free

This will create a simple Tar(ball) file. Good for on-the-fly and when you need to get something out quick.

tar -czf name_of_zip.tar.gz directory/

This creates a Tar-Gzipped file of a directory. tar-gz is a Tar(ball) that has been further compressed by gzip. It's slightly slower than a standard Tar operation, but provides pretty good compression for what you're getting.

tar -cjf name_of_zip.tar.bz directory/

This creates a Tar-BZipped file of a directory. tar-bz is the slowest tar option you can use, but provides the greatest amount of compression on top of the tar.

Untarring is a simple matter of replacing the -c switch with a -x switch. IE:

tar -xzf /tmp/some_file.tar.gz

Which untars the /tmp/some_file.tar.gz tar(ball) into whatever directory I'm currently in.

How To Download Torrent Bigger Than 2gb Online Games

Creating with gzip

gzip -c file file2 file3 > newfile.gz`

Creates a new gzip file from a file, or a bunch of files.

gzip -cr directory/ > newfile.gz`

Creates a new gzip from a directory.

Unzipping is a matter of simply using gunzip on your gzip file.

Creating with bzip

BZip doesn't do directory traversal, so it's only good for zipping up one-or-many files.

bzip2 -ck file -<number> > compress.bz

where is a number between 1 and 9, 1 being the lowest level of compression and 9 being the highest.

qweetqweet

unzip version 6.0 and zip version 3.0 support greater than 2GB files.

New features in UnZip 6.0, released 20 April 2009:

  • Support PKWARE ZIP64 extensions, allowing Zip archives and Ziparchive entries larger than 4 GiBytes and more than 65536 entrieswithin a single Zip archive. This support is currently only availablefor Unix, OpenVMS and Win32/Win64.
  • Support for bzip2 compression method.

New features in Zip 3.0, released 7 July 2008:

  • large-file support (i.e., > 2GB)
  • support for more than 65536 files per archive
  • multi-part archive support
  • bzip2 compression support
GregoryGregory

unix-way is to use tar for multiplexing files together and gzip/bzip2/any-other-compressor to compress .tar archive.

Sergey P. aka azureSergey P. aka azure

I'm trying to write a script in PHP that downloads a large zip file (2,663,439,370 bytes) and I ran into an interesting but frustrating problem : the script downloads the first 2.147.483.647 bytes then continues to download the file but instead of appending to it the byte number 2.147.483.648, 2.147.483.649 and so on, it continues appending bytes to the file starting from byte number 1.

So, the downloaded file is made out of : byte 1, byte 2, ... byte 2.147.483.647, byte 1, byte 2 ... and so on.

I notice that 2.147.483.647 is the maximum integer value a 32 byte system can store. However, my server is a 64 byte system and can store values greater than that. To prove it, var_dump((int) 2147483648) returns the correct integer.

My download script is as correct as possible (is taken from php.net by copy-paste)

Has anyone ran into this problem?

Marius PopescuMarius Popescu

3 Answers

Reading the 5.6 source, readfile returns RETURN_LONG(size). Here's the source reference.

Digging some more, it appears that this macro deals with long int definition which is usually 4 bytes, giving us the signed maximum value of integer where your function stops at. I didn't dig deeper than this, this is my assumption, and given the behavior you're experiencing, this would be enough for me (but not for someone more pedantic).

On the other hand, I personally never used readfile, the fopen / fread combo always proved better in terms of performance and memory used. Since you can read chunks, instead of gulping the mammoth of 2GB, it's simply easier on the server resources.

N.B.N.B.

I'm not sure if it'd be helpful in your case, but You should remove header('Content-Length: ' . filesize($zipname));I did this few times when I was loading from ongoing stream, browser continues loading until script stops responding with content.I'm not sure it works with this large file, it could possibly be php limit.

How To Download Torrent Bigger Than 2gb Online Game

How To Download Torrent Bigger Than 2gb Online
VladimirVladimir

I fixed the problem in the end by eliminating the readfile() function and outputting the content of the file myself using fopen() and fread().

How To Download Torrent Bigger Than 2gb Online Full

However the reason why readfile()' fails when dealing with such large files remains an open subject (I've read the documentation on php.net and I couldn't find any notes about such issue). So i'm still waiting for that experienced programmer to enlighten me :).

How To Download Torrent Bigger Than 2gb online, free

Marius PopescuMarius Popescu

How To Download Torrent Bigger Than 2gb Online Windows 10

Not the answer you're looking for? Browse other questions tagged php or ask your own question.