if you already know your folder is: E:\ftproot\sales then you do not need to use Server.MapPath, this last one is needed if you only have a relative virtual path like ~/folder/folder1 and you want to know the real path in the disk…
More Related Contents:
- How to pass values across the pages in ASP.net without using Session
- How should I inject a DbContext instance into an IHostedService?
- Convert JSON String to JSON Object c#
- ASP.NET use SqlConnection connect MySQL
- Efficient DataTable Group By
- Ajax method call
- What is the right way to populate a DropDownList from a database?
- checking user name or user email already exists
- How to implement reCaptcha for ASP.NET MVC? [closed]
- Does Dispose still get called when exception is thrown inside of a using statement?
- Quartz.net setup in an asp.net website
- System.IO.File.Create locking a file
- how to generate a unique token which expires after 24 hours?
- Reading FromUri and FromBody at the same time
- Call and consume Web API in winform using C#.net
- How to share sessions between PHP and ASP.net application?
- asp.net asmx web service returning xml instead of json
- Get POST data in C#/ASP.NET
- Giving application elevated UAC
- Browser detection
- How to get the output of a System.Diagnostics.Process?
- ASP.NET jQuery Ajax Calling Code-Behind Method
- Printing from ASP.NET to a network printer
- no overload for method “ToString” takes 1 arguments
- Get the current user, within an ApiController action, without passing the userID as a parameter
- When Should I Use Response.Redirect(url, true)?
- Could not load file or assembly ‘System.Web.Helpers, error on IIS 8
- WebAPI Request Streaming support
- Conditional Logic in ASP.net page
- Cast an Anonymous Types in Object and retrieve one Field