C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » BizTalk »

Fileupload


Posted Date: 19 Oct 2009      Posted By: krishnavenikaladi      Member Level: Gold     Points: 1   Responses: 2



hi,

i want to save a file in the path "c:\uploadedapplication\uploaded files\filename"

how to do it ??
thanks in advance!!





Responses

Author: venkatesan    19 Oct 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

give the path like thi

string path ="c:\\uploadedapplication\\uploaded files\\filename";

then pass the page and save the file

Regards,
M.Venkatesan.
Dot Net Code Snippets



Author: Anuraj    19 Oct 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Try this


string folder = @"c:\uploadedapplication\uploaded files\";

Upload1.PostedFile.SaveAs(Path.Combine(folder, Path.GetFileName(Upload1.PostedFile.Filename));


Thanks
Anuraj
THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS.
BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.
dotnetthoghts



Post Reply
You must Sign In to post a response.
Next : Do you think online earning is good?
Previous : Can anyone help me out with biztalk 2006 faqs....
Return to Discussion Forum
Post New Message
Category: BizTalk

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use