http://www.aspforums.net/Threads/212966/Upload-file-to-Google-Drive-directly-from-Folder-Directory-without-using-FileUpload-control-in-ASPNet/
i have refer below link and thn upload on server , i m getting throw error page
please help me
The device is not ready.
Line 21: {
Line 22: string filePath = @"D:\Idar.pdf";
Line 23: byte[] fileData = File.ReadAllBytes(filePath);
Line 24: string fileName = Path.GetFileName(filePath);
Line 25: HttpPostedFile Files = ConstructHttpPostedFile(fileData, fileName);
|