uploading file
the follwoing code is in the page which is present in my server
if
( ( File1.PostedFile != null ) && ( File1.PostedFile.ContentLength > 0 ) )
{
string fn = System.IO.Path.GetFileName(File1.PostedFile.FileName);
string SaveLocation = "http:\\www.myfriendserver.com\datafolder" + "\\" + fn;
File1.PostedFile.SaveAs(SaveLocation);
Response.Redirect("transfertosql.aspx");
}
the error what i get is
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.ArgumentException: URI formats are not supported.

