Server Error in '/' Application.

'/ftp://anonymous@rajabia.fr/SheikhRajab.org/Files/Lectures/2012/May/FR-2012-05-04-M.mp3' is not a valid virtual path.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: '/ftp://anonymous@rajabia.fr/SheikhRajab.org/Files/Lectures/2012/May/FR-2012-05-04-M.mp3' is not a valid virtual path.

Source Error:


Line 15:         if (Brightsoft.Web.PathHelper.IsVirtualPath(url))
Line 16:         {
Line 17:             System.IO.FileInfo file = new System.IO.FileInfo(Brightsoft.Web.PathHelper.VirtualToPhysical(url));
Line 18:             context.Response.AddHeader("Content-disposition", "attachment; filename=" + file.Name);
Line 19: 

Source File: d:\inetpub\vhosts\sheikhrajab.org\httpdocs\Download.ashx    Line: 17

Stack Trace:


[HttpException (0x80004005): '/ftp://anonymous@rajabia.fr/SheikhRajab.org/Files/Lectures/2012/May/FR-2012-05-04-M.mp3' is not a valid virtual path.]
   System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +8967739
   System.Web.HttpRequest.MapPath(String virtualPath) +17
   Brightsoft.Web.PathHelper.VirtualToPhysical(String virtualPath) +62
   Download.ProcessRequest(HttpContext context) in d:\inetpub\vhosts\sheikhrajab.org\httpdocs\Download.ashx:17
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.8762; ASP.NET Version:2.0.50727.8762