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.ThanksCharles-------------------------------------------------------------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:
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.ThanksCharles-------------------------------------------------------------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:
Separate SSL Server (1997)
no global [username] or [password] displayed ... (1997)
4.51 Triggers (2003)
Numbers only code (2000)
Question about replacing words (1998)
[CreateDate] tag? (1998)
syntax question, not in online refernce (1997)
Bug Report, maybe (1997)
problem with text A (2000)
[WebDNA] WebDNA restart script (2015)
File Upload (1997)
WebCat2 Append problem (B14Macacgi) (1997)
[random] only for 1-100??? (1997)
[WebDNA] WebDNA [sendmail] - fixes and future features (2010)
time + (1998)
Separate SSL Server (1997)
[WebDNA] Format Days_To_Date (2008)
Limitations of spawn? (2006)
Emailer Timing out (1999)
listwords and delimiters.. showing blank word? (2004)