B
Bryan Fleming
Hello,
I wrote a page that uploads a file VIA http with no problems at all.
My clients are using Macs and wouldn't you know it, the site won't
upload for them. Anyone seen a work-around for this????
Here's a sample of the code:
lstrFileName = FileUploader.PostedFile.FileName
If lstrFileName <> "" Then
lintBackSlashes = lstrFileName.LastIndexOf("\")
lstrFileName = lstrFileName.Substring(lintBackSlashes)
lstrUploadFolder = Server.MapPath("uploads") & "\" &
Session("userID")
FileUploader.PostedFile.SaveAs(lstrUploadFolder &
lstrFileName)
Could it be that the mac file does not have any \ slashes?
I wrote a page that uploads a file VIA http with no problems at all.
My clients are using Macs and wouldn't you know it, the site won't
upload for them. Anyone seen a work-around for this????
Here's a sample of the code:
lstrFileName = FileUploader.PostedFile.FileName
If lstrFileName <> "" Then
lintBackSlashes = lstrFileName.LastIndexOf("\")
lstrFileName = lstrFileName.Substring(lintBackSlashes)
lstrUploadFolder = Server.MapPath("uploads") & "\" &
Session("userID")
FileUploader.PostedFile.SaveAs(lstrUploadFolder &
lstrFileName)
Could it be that the mac file does not have any \ slashes?