i have a webpage ABC.aspx, where i am browsing for a file ,
when i get the file that i want to upload D:\document.pdf , i pass this D:\document.pdf to next webpage XYZ.aspx as string, so there is no upload file control in page XYZ
now XYZ.aspx has only the string location of the file i.e, D:\document.aspx, how do i upload the file in XYZ.aspx, what code should i write?
I just need some clarification so that I can help you better:
On your ABC.aspx page, do you have an upload control?
and
Only your XYZ.aspx page...what exactly are you trying to do on this page?
I believe you're going to have to upload the file and save it to some temporary folder on the server in your ABC.aspx page (if there's an upload control here)...then in your XYZ.aspx page do processing on the file that you uploaded.
I'll be able to help you more if you give me a bit more information on the problem.
Thanks
-Firnny