J
JP SIngh
Hi All
I have users who upload files using my application using ASPUPLOAD
component.
My code uploads the file to a network location and once the upload is finish
I display the hyperlink using the following code
<a href=\myserver\attachments\<%=server.urlencode(rs("FileName"))%>
target="_blank" ><%=rs("Filename")%>
Sometimes the hyperlinks works but sometimes it doesn't.
Should I be using server.urlencode or not.
The problem is my users upload files with all sorts of filename slike
088-888 24(05)-774448.doc which includes spaces, special characters etc.
Can someone offer any help?
Regards
I have users who upload files using my application using ASPUPLOAD
component.
My code uploads the file to a network location and once the upload is finish
I display the hyperlink using the following code
<a href=\myserver\attachments\<%=server.urlencode(rs("FileName"))%>
target="_blank" ><%=rs("Filename")%>
Sometimes the hyperlinks works but sometimes it doesn't.
Should I be using server.urlencode or not.
The problem is my users upload files with all sorts of filename slike
088-888 24(05)-774448.doc which includes spaces, special characters etc.
Can someone offer any help?
Regards