473,322 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

file uploading in windows application in .net

Hi all,

Can any one tell me how to upload file in windows application developed
in C#.net.

Or can i use method webclient.uploadfile in windows application.

Please help me asap.

thanks in advance.

Mar 10 '06 #1
4 2597
Thus wrote archana,
Hi all,

Can any one tell me how to upload file in windows application
developed in C#.net.

Or can i use method webclient.uploadfile in windows application.


Why not? Go for it ;-)

--
Joerg Jooss
ne********@joergjooss.de
Mar 10 '06 #2
Can you elaborate a little more on what you mean by "upload". Are you
uploading the file to a webservice or just trying to load an image into
an application?

Mar 10 '06 #3
Hi,

I will elaborate this little more.

I have one web service on some different server which i am accessing
through windows application.

That web service is taking file from folder which is there in bin
folder of that web service.

So what i want is to provide facility to user through windows
application to upload file.

Can i do this with webclient.uploadfile. And what will be the maximum
size of file i can upload by using this.

If you can shed some light on it, then it will be really really very
useful for me.

thanks in advance.

Mar 11 '06 #4
Thus wrote archana,
Hi,

I will elaborate this little more.

I have one web service on some different server which i am accessing
through windows application.

That web service is taking file from folder which is there in bin
folder of that web service.

So what i want is to provide facility to user through windows
application to upload file.

Can i do this with webclient.uploadfile. And what will be the maximum
size of file i can upload by using this.

If you can shed some light on it, then it will be really really very
useful for me.


As I said before, you can do that with WebClient. Given the fact that you're
dealing with a Web Service, you're likely better off just working with a
Web Reference, so you don't have to implement all that nasty SOAP plumbing.

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Mar 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
2
by: Daniel Reber | last post by:
I have an application that is sending a file to a location on a network. I have a windows service that is monitoring that location for new files and then processing them. Sometimes the service...
6
by: genc ymeri | last post by:
Hi, We are struggeling to upload a file through a C# webClient into JBoss web server. Meanwhile we are able to upload a file from the webserver itself. The problem is only with C# webClient . The...
3
by: Abhishek | last post by:
Hi! Everyone I have a small issue, if anyone could help me out I need to upload user files to my website thru my web application. something similar to attaching a file to the mail. I know one...
3
by: NuB | last post by:
I want to allow the user to upload a file to a server from my windows form and then display that file name in a grid. When the user clicks on the file name i want the user to be able to open the...
4
by: Kenneth Keeley | last post by:
Hi, I have a page that uploads files to my server and I wish to display a "Please wait while uploading" page to the user while the file is uploading. I have been able to redirect the user once the...
8
by: Todd Acheson | last post by:
I'm having a small problem with uploading files in ASP.NET. My html page for uploading has something similar to: <form id="Form1" method="post" enctype="multipart/form-data" runat="server">...
3
by: Mike Kelly | last post by:
Hi. I've built a page using standard ASP.NET 2.0 features and when I upload a large file (>20MB) to our intranet server, I get a paltry 100KB/s on our 100Mb/s LAN. Simply copying the file, I get...
7
by: pbd22 | last post by:
hi. i am having probs understanding how to grab a file being uploaded from a remote client. i am using hidden input fields for upload such as: <input id="my_file_element" type="file"...
1
by: King | last post by:
Hello, I would like to check to see if the file that I am uploading to my server is of type CSV. I am currently doing that with the following snippet: HttpPostedFile file =...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.