FileName_SavedAs displays path and not filename only

Oct 21, 2009 at 4:19 PM

Has anyone else encountered this problem? I am trying to store the file names into an array, but if I have File_RenameIfAlreadyExists = true; then the file will be renamed. So, in my array I am saving FileUploaderAJAX1.PostedFile.FileName_SavedAs. The problem is that this is a path with filename, instead of just the filename. When I debug in .NET, the FileName_Path and FileName_SavedAs are the same.

I assume this is a bug that should probably be fixed.

Any ideas on how I can get around this bug?