General discussion


Urgnet plz

By aamirjavied ·
I have site of artical , i give option site that user uplaod artical file like browse style simply browse fiel and uplaod ..i want that user simply give dir path and application upload all file auto witch he find in this it possibal in yes then plz how?

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by thirumalai_c_b In reply to Urgnet plz


you can use microsoft scripting runtime library and map the folder. then use for each command to read files one by one and upload the same.

Collapse -

by amoljpatil In reply to Urgnet plz

- Use the HTML, File Field control.
- Suppose ur File Field contorl name is : htxtFileField.
- htxtFileField.PostedFile.FileName will give you the path & name of uploaded file.
- htxtFileField.PostedFile.SaveAs("<Path where you want to upload the file>") method will save the file in the specified path.
- You can config this path into web.config also.



Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums