Does anyone know how to use httpcontext.response.transmitfile or any other httpcontext function to download a file from a network drive instead of local drive? When I tried to use context.Response.TransmitFile(DownloadPath) to download files, the DownloadPath has to be local drive. If it's a network drive, the download failed. Thanks in advance...

Wanxin

Recommended Answers

All 2 Replies

..function to download a file from a network drive instead of local drive?

From Wiki - In computer networks, to download means to receive data to a local system from a remote system, or to initiate such a data transfer.

PS:I'm not quite following your problem.

Thanks for your reply. It's okay. I already got it solved with using \\server\....\file.zip instead of using mapping drive z:\...\file.zip in my code. Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.