I have used below code to upload the file and save in directory
SourceUpload sourceupload = new SourceUpload();
sourceupload.Filename = fileUploadsource.FileName;
sourceupload.Path = Server.MapPath(@"../Upload/");
sourceupload.Fullpath = sourceupload.Path + sourceupload.Filename.ToString();
filenameoriginal = sourceupload.Filename;
sourceupload.Fpath = @"../Upload/" + sourceupload.Filename;
sourceupload.Filename = fileUploadsource.FileName;
sourceupload.Path = Server.MapPath(@"../Upload/");
sourceupload.Fullpath = sourceupload.Path + sourceupload.Filename.ToString();
filenameoriginal = sourceupload.Filename;
sourceupload.Fpath = @"../Upload/" + sourceupload.Filename;
In this code file stored in side my application directory.
Now i want to store the file in another server how to save the file in another server.
i create Virtual Directorie to save but how to do it.

Sudhanshu MandolaPosted Feb 20, 2020, 1:36 AM
RajaPosted Oct 9, 2017, 8:43 AM
SandyPosted Oct 9, 2017, 8:25 AM
RajaPosted Oct 9, 2017, 8:07 AM
SandyPosted Oct 6, 2017, 6:56 AM