Getting around DOS filenames

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35207
interpreted = N
texte = 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/ 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)
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/ 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:

Loops N Variables (1998) (1997) Permissions (2000) WebCatalog Plug-in for Webstar. (1997) WebMerchant when CC network is down (1998) [Fwd: F3 database munching] (1997) wierd [cart] action! (1997) Wanted: Broader string manipulation functions (1997) Anybody free... (2003) [WebDNA] Rewrite url (2013) (1997) list cookies and list http headers (1997) Share cost of training videos! (1998) Separate server for jpg/gif files (1998) possible, WebCat2.0 and checkboxes-restated (1997) WCS Newbie question (1997) New Plug-in and Type 11 errors (1997) cc auth with [purchase] (1998) WebCatalog can't find database (1997) Showif, Hideif reverse logic ? (1997)