Arachne at FreeLists---The Arachne Fan Club! On Wed, 29 Nov 2006 07:59:07 +1030, Greg Mayman wrote: > Somehow the message from Glenn McCorkle didn't arrive here but I > did receive Eric's reply and gathered Glenn's notes from it.... >>> application/zip ZIP>TXT|[300]echo Press F2 now to save the ZIP >>> anywhere you like, with any name you like.>$2\necho .>>$ >>> \nunzip -l -v $1>>$2 >>> application/x-zip ZIP>TXT|[300]echo Press F2 now to save the ZIP >>> anywhere you like, with any name you like.>$2\necho .>>$ >>> \nunzip -l -v $1>>$2 >>> application/x-zipped ZIP>TXT|[300]echo Press F2 now to save the ZIP >>> anywhere you like, with any name you like.>$2\necho .>>$ >>> \nunzip -l -v $1>>$2 >>> application/x-zip-compressed ZIP>TXT|[300]echo Press F2 now to save the >>> ZIP anywhere you like, with any name you like.>$2\necho >>> .>>$2\nunzip -l -v $1>>$2 > I'm sorry to have to tell you, Glenn, but it doesn't work for me. > I have commented out the equivalent lines in MIME.CFG and added > those you sent (after removing the line breaks) but I don't get > the "Press F2...." message before the listing of the zip file > contents. > As a result of some experimenting, it looks to me like the > display of the contents of the zip file is being done by the > line.... > file/.zip >TXT|[300]PKUNZIP -v $1>$2 > Commenting out that line sends me straight to the "Arachne > doesn't know how to handle this file" screen. > So as an experiment I changed that line to this (line broken only > for posting): > file/.zip >TXT|[300]echo Press F2 now to save the ZIP > anywhere you like, with any name you like.>$2\necho .>>$\nunzip > -l -v $1>>$2 > Entering "file//C:\TEMP\PUSHDIR.ZIP" in the URL (a genuine file), > the screen shows > ======================================================== > Press F2 now to save the ZIP anywhere you like, with any name you like. > . -l -v C:\TEMP\PUSHDIR.ZIP > ======================================================== > A listing of the file contents is NOT displayed. > But pressing F2 and clicking on [Save] does save the file correctly. We seem to have multiple places in the net where characters are getting chopped-out of emails. :((( The number '2' was missing from the 1st 3 mime.cfg lines in the received email. I'll now split the lines myself so that they might get through intact. These 4 lines are used for 'remote files'. application/zip ZIP>TXT|[300] echo Press F2 now to save the ZIP anywhere you like, with any name you like.>$2\necho .>>$2\nunzip -l -v $1>>$2 application/x-zip ZIP>TXT|[300] echo Press F2 now to save the ZIP anywhere you like, with any name you like.>$2\necho .>>$2\nunzip -l -v $1>>$2 application/x-zipped ZIP>TXT|[300] echo Press F2 now to save the ZIP anywhere you like, with any name you like.>$2\necho .>>$2\nunzip -l -v $1>>$2 application/x-zip-compressed ZIP>TXT|[300] echo Press F2 now to save the ZIP anywhere you like, with any name you like.>$2\necho ..>>$2\nunzip -l -v $1>>$2 And as you discovered... this line is used for all 'local files'..... file/.zip >TXT|[300] echo Press F2 now to save the ZIP anywhere you like, with any name you like.>$2\necho ..>>$2\nunzip -l -v $1>>$2 -- Glenn http://www.delorie.com/listserv/mime/ http://www.cisnet.com/glennmcc/ http://www.law.cornell.edu/constitution/constitution.table.html Arachne at FreeLists -- Arachne, The Premier GPL Web Browser/Suite for DOS --