wtbonnell Posted November 24, 2004 Posted November 24, 2004 I am not sure if this is the proper location for this question, but I am creating a .Net web application (written in C#) that allows a user to browse their local hard drive and upload a file to a server. I am having trouble with uploading a file to a server...not really sure what is the best method to use or how to go about it. I found a FtpPutFile function - this seems promising, however, I could not find any examples of this. Does anyone have any good examples of this or know of a better way of accomplishing the same goal (i.e. allowing a user to upload a file to a server through my web app) Thanks for your help... Quote
Administrators PlausiblyDamp Posted November 24, 2004 Administrators Posted November 24, 2004 If you are doing this via a browser then probably the easiest way is to use a file input control on your page, if you look under the HTML section of the toolbox you should find it (I can't remember it's exact name at the moment) Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
mike55 Posted November 24, 2004 Posted November 24, 2004 Hi wtbonnell Check out the following link: http://www.developer.com/net/asp/article.php/3097661 It does exactly what you want. Mike55 Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
wtbonnell Posted November 24, 2004 Author Posted November 24, 2004 Hi wtbonnell Check out the following link: http://www.developer.com/net/asp/article.php/3097661 It does exactly what you want. Mike55 Perfect! Exactly what I was looking for...thanks for the help! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.