Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!samsung!caesar.cs.montana.edu!milton!blake!ramsiri From: ramsiri@blake.acs.washington.edu (Enartloc Nhoj) Newsgroups: comp.sys.mac Subject: Re: FTP'ing large files.... Message-ID: <5592@blake.acs.washington.edu> Date: 4 Feb 90 18:53:29 GMT References: <1990Feb3.000455.5685@athena.mit.edu> <3196@umn-d-ub.D.UMN.EDU> Reply-To: ramsiri@blake.acs.washington.edu (Enartloc Nhoj) Distribution: usa Organization: University of Washington, Seattle Lines: 60 In article <3196@umn-d-ub.D.UMN.EDU> halam@umnd-cpe-cola.d.umn.edu (Haseen Alam) writes: >In article <1990Feb3.000455.5685@athena.mit.edu> shahn@hstbme.mit.edu (Samuel Hahn) writes: >> >> >>After getting all of the pieces of the file, how do you put it back together >>again? I tried "cat'ing" the files together on my UNIX host, but when I >>try to convert it back with Binhex, I get an error...and doing a cut and >>paste on such huge segments isn't very practical...what's a fella to do? >> >> > >After cat'ing I generally look inside the file to delete all the headers >and then use the right curly brace ( } ) to search for next blank lines. >If it gets to the end then there will be a colon ( : ) at the end. Else >if there are blanks inbetween, they need to be stripped. This works for >me and I am not in search for a more efficient way to do it either. > >Haseen. I have spent the last couple of years FTP'ing and collecting thousands of files in the ST environment. When i was a neo UNIX user.. i was using the standard uuencode and uudecode on my host. This meant i had to manually do all the stripping and cat'ing etc... a royal pain and prone to errors.. it took the fun out of getting new code. Anyway, what has developed over the past couple of years and works exceptionally well int he Atari world is a program called uux ... it was written by a guy named Dumas... it is a uuendcode uudecode that automatically strips and concatenates your parts. THe general look is something like this: The first part of a file is generally named filename.arc or filename.zoo depending on the archiving scheme. I save that file as filename.uue At the bottom of that file is an "include filename.uab" put there by the uux program. The next PART has a begin line with the name filename.uab, the end of this file has and "include filename.uac" etc.. etc.. until the last PART has and end statement. I save the individual parts with the appropriate names in a directory that has the uue and uud programs. Then i simply run uud filename.uue (the first part of the collection) and the program strips all headers and cats the parts together, within seconds (2-3) on the average.. you see the arc'd or zoo'd file.... the uud is NOT destructive.. so you still have all the individual parts... Would be nice if mac FTP files were in this format.....! -kevin ramsiri@blake.acs.washington.edu