c# - get full path through file uploader in Telerik -
i using telerik controls in asp.net
for uploading file using, radupload
i gone through following links:
made code follows:
for (int = 0; < radupload1.uploadedfiles.count; i++) { string filename= server.mappath( radupload1.uploadedfiles[i].getname()); }
its giving me path:
e:\webbasednewsoft\newsoft\newsoft\colnames.xlsx
this path solution files stored.
i wanted path of file selected upload.
eg. if uploaded file on c drive , should give me path:
c:\colnames.xlsx
but not giving me appropriate path.
what mistake making?
what should appropriate line in loop??
please me.
the file path never contain path of client's computers, because software on server never allowed take peek inside clients computer. if server alles see inside clients computer have security issue.
the path getting local path @ server file has been uploaded.
Comments
Post a Comment