NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: kevin plummer on October 19, 2011, 11:23:00 PM

Title: Upload File Name
Post by: kevin plummer on October 19, 2011, 11:23:00 PM
How does Nettalk handle os invalid file names like 42" Monitor Quote[1].rtf
ie what would be the filename on disk?

Cheers,

Kev
Title: Re: Upload File Name
Post by: Bruce on October 20, 2011, 07:26:52 AM
Hi Kev,

I don't think there's any explicit code to "clean" a file name. If you wanted to add it, I'd put it into the .RenameFile method in WebHandler.

Of course the filename should nominally be valid under at least one os, because it is after all a "File Upload" field (so the name is the name as stored on some other file system.)

Cheers
Bruce