C# - Receiving Data Sent From Client Machine?
Feb 7, 2011
I'm working on a project that has a C# app (running 24/7 as a server) on the client's machine). This app needs to send a file as a byte stream via POST to a server I am currently hosting on my home desktop.
Can this file be received by a C# app running on my server, or does it have to be as ASP app/page?
Also, I know how to send a bytestream via POST, but how will I set my server side app to listen for this incoming data? I have never done something like this, so I'm looking for some pointers to get me started.
View 3 Replies
Similar Messages:
Jan 12, 2010
I am working on windows Mobile 6. I have created Mobile Application which is receiving data from webservice. Web service is working on Development End and also in UK on Mobile Device. Same application is tried from Dubai to recieve same data but an error occured to receive data. What could be problem? Application from Dubai is accessing My PC service but server at Germany is not accessible. Is there ant blockage issue from server to specific Global IP. User is accesing using Wi Fi.
View 1 Replies
Oct 5, 2010
developed an application in Asp.net. It is a receipting system. I have deployed the system in a company which runs with various networks. The company uses VPN, LAN and so many. When I deployed the system they complain the speed is very slow when accessing through network. Specially in the receipt page where i have used Update Panels and AJAX Comboboxes, they complain that it takes time to load the combo boxes. Also they say that when the selected index is changed in the combo box, it takes time to post the data in the other relevant controls.
View 5 Replies
Mar 7, 2011
When calling Response.Cookie.Add(new HttpCookie("MyCookie", "objValue")); where does the cookie saved? on Client Machine or Server Machine?
EDIT:if saved in Client Machine, how can I read it from javascript then? I tried this kind of script.
function getCookie(c_name) {
var i, x, y, ARRcookies = document.cookie.split(";");
for (i = 0; i < ARRcookies.length; i++) {
[code].....
I cannot get the cookie that I saved from code behind. When I look into the document.cookie object, it is just an empty string.
Scenario:On Page_Init() on code behind. I create a cookie using Response.Cookie.Add(new HttpCookie("MyCookie", "cookieValue"));.
On Client side, I'm trying to read the cookie saved from code behind on page load using the snippet above, but it returns undefined
View 3 Replies
Jul 2, 2013
i Have multiple File upload. press Uploaded button it will store on sever temp folder. those details are in List on our program.
when i have press the submit then only those listed files fetch form server-temp-Folder and replace in server-secified- folder.
i want to make those list class save into client location for not affted by some of other updates.
how cn i store the custome list in client memory
View 1 Replies
Jun 30, 2010
I'm looking into a ASP.Net project for a friend who has a client at the moment. I just want to make sure that I can log onto her client's machine where they host their site, I'm working from home and not on their domain.
If I can't log in using the account info they gave me, is it possible that they can limit FTP access from outside IPs? Just a question in case I have a problem then I can suggest a solution. "Hey friend, I tried to log in, but the service denied me probably because your client has to include from my outside IP. My IP address is ....." or something like that.
View 3 Replies
Mar 4, 2011
I want to run .exe files on client machine.
System.Diagnostics.Process.Start("C:Windowssystem32otepad.exe") i Use this codeing it work on my system but not work on server. and with the javascript it also give the error
[code]....
View 5 Replies
Jan 7, 2010
How to get MAC address of client machine in c# and vb.net
View 3 Replies
Apr 2, 2011
e are developing an ASP.Net application. The requirement is to install and run an app (say console app developed using .Net) on the client machine through out ASP.Net application. How can we install this app (and .Net Framework required to run the app) when the user access our web app
View 2 Replies
Jul 23, 2010
I have written a console application which will map a volume as disk to a client machine and then Initializes, formats and assigns a drive letter.
Now i want to achieve the same through a web site. This is going to be a Internal site.Right now i can do this by executing the exe with a pop up from the website to run.
But i want to do the same operation as if it is a simple button click on the website after the user fills in the requirements like size,drive letter. I dont want to have any security pop ups.
Is there a way that i can do disk operations with out having security pop ups on end user machines?
View 5 Replies
Nov 23, 2010
I am building an ASP.NET intranet application. I am trying to get the host name of the client machine. I have started off by using System.Net.Dns.GetHostName(); but this just seems to return the hostname of the server running the website through IIS. Am I using the wrong method or am I using this one incorrectly?
[Code]....
View 4 Replies
May 27, 2010
I have a Requirement Where I need to Generate the PDf Docuemnts and I need to Send it to the Printer.
All the Pdf Documents are dynamically generated and it will be saved in server Temporary Folder.Then all these PDF Document has to be sent to the Clients Network Printer.
View 11 Replies
Dec 15, 2010
I have a web site where I need to capture the IP address of the logged in user. Earlier my code used to work fine. But all of a sudden it is giving me only one IP address from whichever machine may be the user logging in. I have tried almost all possibilites :
Request.ServerVariables("REMOTE_ADDR")
Request.ServerVariables("HTTP_X_FORWARDED_FOR")
Request.UserHostAddress()
Still it is giving me the same IP address.
View 3 Replies
Dec 16, 2010
We need the a solution for our ASP.NET website. in which a user needs to activate his machine and next time if he visits the site then we need to check the machine is activated or not. if the machine is activated then we want to redirect the user on different page.
Is there any way by which we can get the client machine MAC address and store it our database?
I have found some solution in which this can be done but it works on on IE and some ActiveX setting needs to be done.We want this should work on atleast IE and FireFox.
View 3 Replies
Oct 25, 2010
I want print PDF file from the client machine. The PDF file exists on the server.
View 1 Replies
Dec 7, 2010
I am using c# and ASP.NET 2.0.
How to invoke exe, which is available in the client machine?
View 4 Replies
Feb 2, 2011
how can I get the private ip of client system from a website hosted on public ip in ASP.Net C#? while i am checking userhostname, it's showing the global IP of the Internet connectivity which is the same for all the machines in the network.
View 2 Replies
Feb 22, 2011
I want to use ActiveXControl to scan particular folder on client machine say C:HJReports
I have write simple activeXcontrol using user control in winform but I am not able to use this in aspx page using object tag possibly due to problem in classId property of object tag Here I want help on following aspects
1. How to use already made .net activeXcontrol in asp.net
2. How to make .net activexcontrol
View 1 Replies
Feb 5, 2010
Without using fileupload control, what is the way to store a file from client machine to web server.
FYI, a text box has the path the client machine file.
View 1 Replies
May 23, 2010
I have a simple doubt... I have a button on my asp.net page. On the click of that button I want to show
an image stored in "C:Windows" folder( on client machine ) in an image control.
View 5 Replies
Jan 20, 2010
how to download files from server on client machine
View 8 Replies
Feb 10, 2011
I can't connect to both 9i and 10g from asp.net,when i installed 9i client in a machine which already contain 10g xpress edition and no 10g client 9i client used to connect 9i db in another machine. Both 9i and 10g can be connected with TOAD. i got the following error msg from the asp.net application. System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
View 3 Replies
Mar 20, 2011
I have developed a small website to be hosted in my client's office (intranet). This is my first website. I don't know how to deploy it.!! We can run it by copying and pasting the whole project folder in their server. But if we do like that they can modify the code whenever they need.
View 2 Replies
Mar 5, 2011
how can i access client machine's specific file contained in a drive or folder.Suppose in Server side i have knowledge of full path of a file that is present in client side, like "D:ABCFolderxyzFile.doc", this is a file that i want to retrieve and store in server side .
View 8 Replies
Jan 5, 2011
I have a server application that runs in a hosted environment but creates print jobs in the client's local network (behind NAT; the mechanics of this is not relevant).
In order to send the print job to the printer that is attached to the workstation, I need to identify the workstation. The users move around between workstations, so I can't permanently associate a user with a workstation/printer. The trivial solution is to require the user to identify the machine he is logging in from, for instance by selecting from a list, but that's an inconvenience and subject to user error.
Options I have eliminated:
Host header variables (nothing identifiable is sent) Cookies, in support of a user selection. This somewhat addresses the potential for user error, but not really. HTML5 DOM Storage - is not supported by the client's browser
Edit: I do have the option of puttnig this particular function (create a print job) into a thick client app. The app can then of course be configured and the problem goes away. But the user experience will suffer from having to switch between the browser and a Windows app.
View 2 Replies