How to get full path from fileupload control or every thing from client side? [modified]
-
Hi, I want to get full path from fileUpload control or htmlFile or java script or every thing that i found in google, but i was unsuccessfull. Why i get FullPath in some system but i don't get in aother system for example via( fileupload1.PostedFile.FileName)? I need it for uploading file using ftp. How I can get full path, Plaese help me:(
Hoda
modified on Wednesday, August 12, 2009 5:02 AM
-
Hi, I want to get full path from fileUpload control or htmlFile or java script or every thing that i found in google, but i was unsuccessfull. Why i get FullPath in some system but i don't get in aother system for example via( fileupload1.PostedFile.FileName)? I need it for uploading file using ftp. How I can get full path, Plaese help me:(
Hoda
modified on Wednesday, August 12, 2009 5:02 AM
What is the need of fullpath ? You will not get. You will get only FileName. Use Posted file to uplaod the file.
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article
-
What is the need of fullpath ? You will not get. You will get only FileName. Use Posted file to uplaod the file.
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article
-
Hi, I want to get full path from fileUpload control or htmlFile or java script or every thing that i found in google, but i was unsuccessfull. Why i get FullPath in some system but i don't get in aother system for example via( fileupload1.PostedFile.FileName)? I need it for uploading file using ftp. How I can get full path, Plaese help me:(
Hoda
modified on Wednesday, August 12, 2009 5:02 AM
you can get full path using following. Path.GetFullPath(FileUploadControlName.FileName) :)
Regards Keyur Satyadev
-
you can get full path using following. Path.GetFullPath(FileUploadControlName.FileName) :)
Regards Keyur Satyadev
-
you can get full path using following. Path.GetFullPath(FileUploadControlName.FileName) :)
Regards Keyur Satyadev
keyur satyadev wrote:
Path.GetFullPath(FileUploadControlName.FileName)
The file is not in server side I guess :-D
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article
-
keyur satyadev wrote:
Path.GetFullPath(FileUploadControlName.FileName)
The file is not in server side I guess :-D
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article