Re: Spliting a file as it DCC's, possible?
Ertugrul Soeylemez <[email protected]>
| Newsgroups | gmane.network.irc.irssi.user |
|---|---|
| Message-ID | <[email protected]> |
Hello John, John Barne <[email protected]> (06-01-07 17:33:27): > I know this is a big ask but I have an account on a linux machine with > a ulimit on files created is 125MB. > This means any large files that I attempt to dcc lead to file size > exceeded error. > I contacted the admins but they said I was free to split files but > that they would not change the ulimit. > > As you might have guessed, I don't know any programming languages. So > is there any version of irssi that can split files as it downloads > them, I understand resuming would probably be impossible. Any skilled > c programmer wanna try doing it as a project? or indeed point me > towards the files I might need to change and perhaps give us some > hints. I went through the source, found dcc.c, and well I presume > thats where I should be changing things. With pure irssi this is not possible. But it's much easier to split the file before transmission, than to write a script that does this. You might be interested in the manpages of the commands split(1) (used on the sender's host) and cat(1) (used on the receiver's host, or in your case not used at all). If you don't have the ability to split the file before transmission (i.e. you don't have access to the host), then a script/plugin will become necessary. A second possibility is to use an alternative to DCC or to irssi's DCC features (a dedicated DCC daemon for example). Regards, Soeylemez. -- (hkp) subkeys.pgp.net (ldap) keyserver.pgp.com (http) www.keyserver.de ID: CE402012 (0F12 0912 DFC8 2FC5 E2B8 A23E 6BAC 998E CE40 2012)
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDwTNqa6yZjs5AIBIRApg+AJ9YkL3S26xHUHJBsMYlosyLYRkRDgCdHxVd V53Sk94vDfGPqJHiUxbno4s= =bv3o -----END PGP SIGNATURE-----