I am new here and still learning about programming. Can anyone tell me about how to download a file in NAS using Classic ASP?
For an examples information,
NAS IP: 113.3.103.2
share folder in NAS/partition: share_partition
folder: uploadFile
And here is an examples of snippet code I try.
Expand|Select|Wrap|Line Numbers
- <%
- Dim fname,path_test2
- fname="test.png"
- path_test2="//113.3.103.2/share_partition/uploadFile/"
- %>
- <table width="100%" cellspacing="0" cellpadding="0" border="0" class="doctext">
- <tr>
- <td> <a href="<%=path_test2&fname%>" target="_blank"><%=fname%></a></td>
- </tr>
- </table>
edit:
I already put the impersonations account of NAS in IIS web application authentications.To give access for this application into NAS.
Thanks in advance for helping me.
Thank you.