Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
Path Format Not Supported.
Vasu Gadhiya
Sep 20 2013 1:39 AM
2.2k
Reply
I Write Code For Download All as zip.
-----------------
string filepath = Server.MapPath("download/flag.png");
zip.AddFile(filepath, folder);
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=DownloadedFile.zip");
Response.ContentType = "application/zip";
zip.Save(Response.OutputStream);
Response.End();
-----------------
its Completely Working
But When i give DropBox Public path as filepath
--------------------------
string filepath = "https://dl.dropboxusercontent.com/u/155062858/flag.png";
--------------------------
its Occur Error
The given path's format is not supported.
Thanks in Advance.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
howmuch are C# events and collections used in MVC?
How do I check entered URL is valid or not