Hi, I am creating a project that allows users to send and receive files to and from a Web Server. The problem is I do not know how to go about doing it . I try not to use ASP.Net and maybe ADO.Net cos I've got very little knowledge on these 2 languages.
I am currently working on a windows application form, and would like to know if there is any way of connecting by means of a Connector or Socket or anything else I do not know of?
I do really need help in this area as my deadline is just a week away from now. Any help will be extremely appreciated. Thanks in advance.
Thanks for your help, I will go check it out.
I noticed that in VB (not .NET) they have a component called Microsoft Internet File Transfer 6.0 where we can make ftp downloads and manipulate files. I was actually looking for something like that in .NET, however I couldn't find any... Hence I posted my problem in the forum
Actually I have already finished my project but it was a last
minute group decision to put my xml files onto a live web server. So I need to create that link to the web server.
The WebClient is pretty much the .net replacement for that control, only it doesn't do FTP by default. You can, however, get plugins for it that let it do FTP (I'm told).
However they returned an exception:
I notice that there is another way to use uploadfile by specifying the method but i'm not sure what methods there are?
An unhandled exception of type 'System.Net.WebException' occurred in system.dll
Additional information: The remote server returned an error: (405) Method Not Allowed.
Anyway, I don't thihnk I canuse the Webclient, cos I also need to rename and delete and move the files around..
I have no idea how uploading files via http would work, anyway. Web servers are meant to provide pages for download, not serve as a way to upload files. That's pretty much where you want FTP.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.