From: Cameron L. Spitzer (cls@truffula.sj.ca.us)
Date: 07/01/93


From: cls@truffula.sj.ca.us (Cameron L. Spitzer)
Subject: Re: Help: FTPing files > maximum filesize
Date: Thu, 1 Jul 1993 06:27:50 GMT

In article <C9DEK3.5v@fab4box.wa.com> reeses@fab4box.wa.com (Art Taylor) writes:
>In article <1993Jun26.214856.17419@dcc.uchile.cl> tbenavid@huemul.dcc.uchile.cl (Thomas Benavides A) writes:
>>Malcolm Ryan (2119737@hydra.maths.unsw.oz.au) wrote:
>>>In trying to ftp the files from disk a3, I discovered that the University
>>>computer imposes a 300k maximum filesize. One of the files I need to ftp
>>>is 500k (compressed). I cannot find a way to download this file, can
>>>anyone help me?
>>
>>uuencode and use split ...
>
>Read his post again. He can't even get the 500k _onto_ his machine, let alone
>uuencoding it and splitting it.
[term, Linux, high tech solution]

You can split a "binary" file into pieces with dd.
You can reassemble it with cat.

To split into 300 KB chunks:
  dd if=giant_binary.tgz of=part1 bs=1024 count=300
  dd if=giant_binary.tgz of=part2 bs=1024 count=300 skip=300
  dd if=giant_binary.tgz of=part3 bs=1024 count=300 skip=600
  dd if=giant_binary.tgz of=part4 bs=1024 count=300 skip=900
The last chunk will be exactly the right size!
All but the last chunk can be written to /dev/fd0 instead
of temporary files (count=1440 for 3.5 HD). Tar or cpio the last one.

>Another way, which may be a way around, is to use an FTP-mail server.
>$mail ftpmail@decwrl.dec.com
>connect sunsite.unc.edu

Yes but in North America why not use ftpmail@sunsite.unc.edu
which is much faster? Send mail containing only the word "help"
to that address. Save the reply; it's slightly different than
decwrl's.

Cameron