Click here to Skip to main content
15,900,725 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProblem with webclienet class uploadfile method? Pin
.NetRams1-May-07 20:11
.NetRams1-May-07 20:11 
AnswerRe: Problem with webclienet class uploadfile method? Pin
N a v a n e e t h1-May-07 21:06
N a v a n e e t h1-May-07 21:06 
QuestionError when trying to send mail Pin
anujose1-May-07 19:48
anujose1-May-07 19:48 
AnswerRe: Error when trying to send mail Pin
N a v a n e e t h1-May-07 21:07
N a v a n e e t h1-May-07 21:07 
QuestionHow to upload all files from source folder to web path. Pin
.NetRams1-May-07 19:22
.NetRams1-May-07 19:22 
AnswerRe: How to upload all files from source folder to web path. Pin
Sandeep Akhare1-May-07 19:42
Sandeep Akhare1-May-07 19:42 
GeneralRe: How to upload all files from source folder to web path. Pin
.NetRams1-May-07 20:08
.NetRams1-May-07 20:08 
AnswerRe: How to upload all files from source folder to web path. Pin
N a v a n e e t h1-May-07 21:15
N a v a n e e t h1-May-07 21:15 
ramskr wrote:
How do I upload all files to web server path without using "file" type.


First get the files in that directory using

System.IO.Directory.GetFiles


The above line will return all the files present in the directory as a string array.


ramskr wrote:
I need to upload all files from the given client's physical folder path to server path.


Use webclient class. It is having upload method. Start a loop till end of the above string array and upload each file using webclient method in the loop. Finally dispose webclient object



printf("Navaneeth!!")

www.w3hearts.com

GeneralRe: How to upload all files from source folder to web path. Pin
.NetRams1-May-07 23:03
.NetRams1-May-07 23:03 
GeneralRe: How to upload all files from source folder to web path. Pin
N a v a n e e t h1-May-07 23:14
N a v a n e e t h1-May-07 23:14 
GeneralRe: How to upload all files from source folder to web path. Pin
.NetRams1-May-07 23:59
.NetRams1-May-07 23:59 
QuestionHow to import excel sheet datas into mysql database Pin
vijay_831-May-07 18:39
vijay_831-May-07 18:39 
AnswerRe: How to import excel sheet datas into mysql database Pin
N a v a n e e t h1-May-07 21:17
N a v a n e e t h1-May-07 21:17 
Questionhow to store word document content into access database Memo field using Asp.net 2 Pin
maxiachun1-May-07 17:32
maxiachun1-May-07 17:32 
Questionneed help with my asp.net2 - javascipt Pin
neodeaths1-May-07 16:09
neodeaths1-May-07 16:09 
AnswerRe: need help with my asp.net2 - javascipt Pin
Psycho-*Coder*-Extreme1-May-07 16:57
Psycho-*Coder*-Extreme1-May-07 16:57 
GeneralRe: need help with my asp.net2 - javascipt Pin
neodeaths1-May-07 18:09
neodeaths1-May-07 18:09 
GeneralRe: need help with my asp.net2 - javascipt Pin
Psycho-*Coder*-Extreme1-May-07 18:18
Psycho-*Coder*-Extreme1-May-07 18:18 
GeneralRe: need help with my asp.net2 - javascipt Pin
neodeaths1-May-07 18:23
neodeaths1-May-07 18:23 
GeneralRe: need help with my asp.net2 - javascipt Pin
Guffa1-May-07 21:20
Guffa1-May-07 21:20 
AnswerRe: need help with my asp.net2 - javascipt Pin
Spunky Coder1-May-07 19:46
Spunky Coder1-May-07 19:46 
AnswerRe: need help with my asp.net2 - javascipt Pin
Guffa1-May-07 21:23
Guffa1-May-07 21:23 
Questionfield validation in content pages Pin
hahii1-May-07 13:32
hahii1-May-07 13:32 
AnswerRe: field validation in content pages Pin
firozu3-May-07 1:26
firozu3-May-07 1:26 
Questionhow can I modify the content of a contentplaceholder Pin
rom901251-May-07 11:09
rom901251-May-07 11:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.