Hey,
Does anybody know how i can use the code below to upload to a server?
if (FileUpload1.HasFile)
{
String sPath = (MapPath("images") + "/" + FileUpload1.FileName);
FileUpload1.PostedFile.SaveAs(sPath);
Label2.Text = "Received " + FileUpload1.FileName +
" Content Type " + FileUpload1.PostedFile.ContentType +
" Length " + FileUpload1.PostedFile.ContentLength;
}
else
{
Label2.Text = "Image was not uploaded";
...
Go to the complete details ...