Coping Files over the internet
-
hello, i'm trying to do a File.Copy but over the wire. more specifically an UpLoad, since it's starting from a Client machine. Catch is this is via a WinForm/UserControl/ComponentModel object(s). so nothing to do with any kind of ASP, ASP.NET or otherwise. in the end i'm just trying to take a file of some type, be it a .jpg/.dll/.something and send/save it to a server over the net. i've been experimenting with a number of classes; WebClient, HttpWebRequest and HtmlInputFile/HttpPostedFile. the last 2 being specific to ASP.NET, as i thought i might be able to make the system think it was coming from as ASP.NET page or something like that. i've been using a WebServer(IIS) for the connection, specifically to a Virtual Directory. which is where the file(s) will need to be in the end anyways. but i'm having no luck passing the file to the virtual file path. any advice or help would be great. Thank you, Orion
-
hello, i'm trying to do a File.Copy but over the wire. more specifically an UpLoad, since it's starting from a Client machine. Catch is this is via a WinForm/UserControl/ComponentModel object(s). so nothing to do with any kind of ASP, ASP.NET or otherwise. in the end i'm just trying to take a file of some type, be it a .jpg/.dll/.something and send/save it to a server over the net. i've been experimenting with a number of classes; WebClient, HttpWebRequest and HtmlInputFile/HttpPostedFile. the last 2 being specific to ASP.NET, as i thought i might be able to make the system think it was coming from as ASP.NET page or something like that. i've been using a WebServer(IIS) for the connection, specifically to a Virtual Directory. which is where the file(s) will need to be in the end anyways. but i'm having no luck passing the file to the virtual file path. any advice or help would be great. Thank you, Orion
I'm a little bit confused by your post. Are you simply trying to transfer a file over thei nternet from your client to server. Or are you doing this from a web page? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n
-
I'm a little bit confused by your post. Are you simply trying to transfer a file over thei nternet from your client to server. Or are you doing this from a web page? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n
sorry.., yes just simply transfering a file over the internet from my client to my server. Absolutely nothing to do with a web pages. i'm sure i'm missing something obvious. although every example i look at is from web page to web page. i am trying to put the file in C:\Inetpub\wwwroot\SomeDirectory, but again has nothing to do with web sites. these files are dll's and source code files. Orion