ATTN: John Re: Getting around DOS filenames

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35216
interpreted = N
texte = Nevermind. There is a special .exe for long file names. DUH =) Thanks for the help.- Charles >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:

    
Nevermind. There is a special .exe for long file names. DUH =) Thanks for the help.- Charles >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/ Charles Kline

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:

Faxing orders in place of email (1997) Duplicate Emails being sent (2004) locking variables? (2000) Encrypt question. (2000) Supressing Error Messages (1998) [WebDNA] PHP and WebDNA together? (2011) browser info.txt and SSL (1997) showifs (1999) multiple price line in formula.db (2004) WebCat2 - storing unformatted date data? (1997) [SearchString] problem with [search] context (1997) Getting Total Quantity (1997) Sorting ip addresses (2002) filemaker - orderfile (1997) Not really WebCat (1997) WebCat2 - [format thousands] (1997) WebMerchant Error (1998) Various Problems (1997) Sandboxes (2004) Restart of DBserver (1997)