markbeeson
Programmer
I'm uploading images to my website using the following code:
If Not (filImage1.PostedFile Is Nothing) And filImage1.Value <> "" Then
postedFile = filImage1.PostedFile
Dim filename As String = getFileName(postedFile.FileName)
postedFile.SaveAs(sPath & Replace(filename, "'", "''"
)
End If
All works wonderfully but my client (who uses a Mac) reports problems when he uploads. I asked him to send the images so I could see what error messages come up.
No error messages but the image simply doesn't diplay once uploaded.
I opened the image in MS Paint and pressed 'save' - then the upload and display worked perfect.
Any ideas?!?!?
If Not (filImage1.PostedFile Is Nothing) And filImage1.Value <> "" Then
postedFile = filImage1.PostedFile
Dim filename As String = getFileName(postedFile.FileName)
postedFile.SaveAs(sPath & Replace(filename, "'", "''"
End If
All works wonderfully but my client (who uses a Mac) reports problems when he uploads. I asked him to send the images so I could see what error messages come up.
No error messages but the image simply doesn't diplay once uploaded.
I opened the image in MS Paint and pressed 'save' - then the upload and display worked perfect.
Any ideas?!?!?