Re: Getting around DOS filenames

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35211
interpreted = N
texte = Once a file has a name greater than 8.3 characters, it is stored with both that name and the 8.3 fake name that DOS sees. If Image Alchemy can operate on the file and save it with the _same name_, it does not matter that IA saw an 8.3 filename; the long name should still exist. Note that your Command Prompt will be poisoned with the 8.3 filename scheme; look at it using dir /x to see both the long and 8.3 style name.John PeacockCharles Kline wrote: > > Here is the deal. We moved our server to an NT IIS 4 server from a > Mac. We have a feature that lets people upload photos. We do this > using the [upload] in WebCat. > > We were using Graphic Converter to scale the images to 300 x ? > pixels, but since we moved to the NT server well... > > Anyhow, I found, thanks to some kind person on this list, another > application that does this on NT (Image Alchemy). It is really fast - > it is a DOS application. > > The files that are uploaded are associated with a record in a > database using [cart] which is somewhere between 10 - 13 characters > long. This is a problem since DOS uses 8 as its max file name size > the application can't find the long file names. > > Anyone have an idea how I could work around this without creating a > scenario where I would get duplicate file names? I could write the > orig. filename to a database use a shorter one to process it and then > rename it back when I move it to its final home... only thing is > [cart] is my only safe bet for a unique file name. > > I guess I could write a database of temp numbers that gets used and > not reused, but I don't really want to have to do that since it seems > kinda like the long way to do this. > > Any help would be appreciated. > > Thanks > Charles > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. ATTN: John Re: Getting around DOS filenames (Charles Kline 2000)
  2. Re: Getting around DOS filenames (John Peacock 2000)
  3. Getting around DOS filenames (Charles Kline 2000)
Once a file has a name greater than 8.3 characters, it is stored with both that name and the 8.3 fake name that DOS sees. If Image Alchemy can operate on the file and save it with the _same name_, it does not matter that IA saw an 8.3 filename; the long name should still exist. Note that your Command Prompt will be poisoned with the 8.3 filename scheme; look at it using dir /x to see both the long and 8.3 style name.John PeacockCharles Kline wrote: > > Here is the deal. We moved our server to an NT IIS 4 server from a > Mac. We have a feature that lets people upload photos. We do this > using the [upload] in WebCat. > > We were using Graphic Converter to scale the images to 300 x ? > pixels, but since we moved to the NT server well... > > Anyhow, I found, thanks to some kind person on this list, another > application that does this on NT (Image Alchemy). It is really fast - > it is a DOS application. > > The files that are uploaded are associated with a record in a > database using [cart] which is somewhere between 10 - 13 characters > long. This is a problem since DOS uses 8 as its max file name size > the application can't find the long file names. > > Anyone have an idea how I could work around this without creating a > scenario where I would get duplicate file names? I could write the > orig. filename to a database use a shorter one to process it and then > rename it back when I move it to its final home... only thing is > [cart] is my only safe bet for a unique file name. > > I guess I could write a database of temp numbers that gets used and > not reused, but I don't really want to have to do that since it seems > kinda like the long way to do this. > > Any help would be appreciated. > > Thanks > Charles > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Peacock

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Robert Minor duplicate mail (1997) WebDNA Promo Sound Bite (2003) [writefile] ugliness continued (2001) To Do list (2003) Time Display from Database (1997) WC2b15 File Corruption (1997) SQL statements (2002) Webstar 1.3.1 PPC (1997) Include a big block of text (1997) Multiple cart additions (1997) Passing Variables.. yikes, I'm dumb (2000) shipcost vs shiptotal (1998) Emailer Error 550 (Was Strange Crash) (1998) can WC render sites out? (1997) WebCatalog can't find database (1997) forms and variables (1998) find with exceptions (1997) default value from Lookup (was Grant, please help me) (1997) Taxable Shipping (2003) Problems with [Applescript] (1997)