Thanks I can never remember the actual number. The only ways that such a shortening of the filename should happen are UNC or if Windows rejects the original filename as invalid - the most likely reason for that is that it is too long. Unfortunately there are no diagnostic messages giving the reason (I think I should add one). - Russell Peters -----Original Message----- From: delphizip-bounce@xxxxxxxxxxxxx [mailto:delphizip-bounce@xxxxxxxxxxxxx] On Behalf Of James Turner Sent: Saturday, February 03, 2007 12:29 PM To: delphizip@xxxxxxxxxxxxx Subject: [delphizip] Re: Long filename not extracting properly Importance: High MAX_PATH is actually 260, however, in rare circumstances, problems can occur with filenames that exceed the maximum under DOS (i.e. max 8.3 length around a hundred chars I think). I have also seen problems with very long part file names (excluding the directory part). These problems are unrelated to DelphiZip. Long filenames can also be troublesome on CDs. I haven't ever noticed a problem with NTFS but certainly FAT32. -- James Turner ----- Original Message ----- From: "R.Peters" <russellpeters@xxxxxxxxxxx> To: <delphizip@xxxxxxxxxxxxx> Sent: Friday, February 02, 2007 9:47 PM Subject: [delphizip] Re: Long filename not extracting properly > Freelists does not allow attachments but you could send it to > problems@xxxxxxxxxxxxx > > I tested that filename without problems. > The only thing I can think of is perhaps to total absolute extraction path > is too long - from my unreliable memory MAX_PATH is about 420. > A bit my information might help - > What Windows version and disk file system (FAT or NTFS) for extraction. > Any error or warning messages - a log file may help (needs section > [UNZDLL]) > > Meanwhile I will examine the code to see under what conditions it will > truncate it (I have an idea that it is there but well buried). > > - Russell Peters > -----Original Message----- > From: delphizip-bounce@xxxxxxxxxxxxx > [mailto:delphizip-bounce@xxxxxxxxxxxxx] > On Behalf Of Randall Sell > Sent: Saturday, February 03, 2007 2:32 AM > To: delphizip@xxxxxxxxxxxxx > Subject: [delphizip] Long filename not extracting properly > Importance: High > > Hi all, > Been using ZipMaster since 1.6. Now have latest 1.79. > > The zip process seems to work fine and creates all the files (all have > fairly long names) only one does NOT extract correctly in my proejct. > > Real filename: "Tender Document 4.0 Terms and Conditions of > Contract_IRB0001.doc" > What is extracted: "Tender D.doc" > > Seems to have crunched it down to 8.3 size. The file in question is inside > another dir (relative paths stored in zip) and they extract OK. so I can't > see why this file has trouble. > > so then revved up the Demo1 app - expecting to see the same results. but > it > works! Which is good - I must have something set wrong in my app. My > question is - does anyone have any guidance/hints as to where my > truncation > problem is coming from? has anyone else here seen a similar problem? > > I'd suspect the OS if it created like a Tender~1.doc file, but it isn't. > It > is just getting chopped to "Tender D.doc" > > Using winzip - it also extracted OK, so clearly my code must have > something > wrong. > > I shoudl mention that this proejct started with ZipMaster 1.6p and has > chased the latest revs ever since. I did completely uninstall 1.78. So any > guesses what might be going on here. I've attached the file. suspect file > is > in the "attachemnts" subfolder. > > thanx > -randall > > > > > ____________________________________________________________________________ > ________ > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. > http://answers.yahoo.com/dir/?link=list&sid=396546091 > > -- Binary/unsupported file stripped by Ecartis -- > -- Type: application/zip > -- File: LongFilenameProblem.zip > -- Desc: 2549846891-LongFilenameProblem.zip > > > ----------- > To unsubscribe from this list, send an empty e-mail message to: > delphizip-request@xxxxxxxxxxxxx > and put the word unsubscribe in the subject. > > ----------- > To unsubscribe from this list, send an empty e-mail > message to: > delphizip-request@xxxxxxxxxxxxx > and put the word unsubscribe in the subject. ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject. ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject.