I'm completely blanking here. I've got 2 servers that cannot talk to each other via normal network traffic (like just copying a file). I can't get FTP setup on either server due to artificial company security constraints.Server1 basically just has an exe on it that I have written, and it needs to send a file to Server2.Server2 has a full blown asp.net website on it so I'm writing a .ashx page to handle receiving the file.So...Server1 needs to make a call to server2 and send a file to it over http. Server2 needs to accept the file and save it to disk.Where should I start? I know I can make server1 create a WebRequest object, and set the methodto POST, and then stream the content.But on server2, what am I supposed to write? A generic handler? Will my file that I send be part of the context.Request object? How do I get it out?
I wanted to send and receive SMS from my application, as of the need i bought a Wavecom GSM Modem. I also downloaded ActiveXperts Toolkit for communicating with GSM Modem, i can be able to send SMS through the GSM Modem. have problem with receiving SMS.
I have create a website and i need to send/receive email from website . I am able to send email through system.net.mail namespace . But it needs an gmail id and password . I want to send email from my website like Username@mywebsite.com and also receive email from another domain like gmail.com . I didn't know how i can perform this task . I don't have a logic .
I have a website written in C# and when a user does something I want to be able to send an IM message to an admin and allow the admin to respond to approve/deny the request.
I would like to use something like MSN Messenger or AIM so that the IM messages can also be sent to phones as sms.
I wish to make a script which programatically send the POST data to one server and then the other server receive the POST message and retrieve the information. How should make this work? I already successfully write the sender site, the code as follow:
string postData = "id=0&co=5"; ASCIIEncoding encode = new ASCIIEncoding();
I am using the System.Timers.Timer class. And I enable when I send a message and disable when I receive the message. How do I calculate how much time has elapsed. I have set the interval as 1 sec
Basically I retransmit data after 1000 sec again if I do not recive an ACK. I retransmit 5 times max until I get a Ack. If I receive and something before 150ms then I stop retrnsmission.
I need to send a cookie to the my web site's visitors and receive them back for information. For example when machine1 visits my site if not set I set a cookie with "user1", for machine2 I set "user2" etc.
Actually I need to retrieve the cookie back from my log file, so I thought if I do this it will be saved to my log file.
as per my flow on every click i have a postbackĀ without which i cannot store data to client or server.i have 2 ways of data storing one is client side in javascript variables in form of array(which can be lost on postback) the data to be stored are of differnt types some are numeric , some single characters some sepearted with comma other way is on each post back save the data in a session varibale on server & then access currently i have second way considering both the ways and in accrodance with the current flow which is best for maintenance & access speed reasking as i am notyet cleared abt the things.
My company is currently looking into bringing a new piece of third party software in for online ordering. The software does not handle pricing so they are requesting the pricing information from a web service. Their software is passing an XML file as a parameter, and expecting an XML file as a response. I would think that returning an XML file would be pretty straight forward, but I cannot think of a way to receive an XML file as a parameter.
I have an asp.net panel having various controls including gridview. I have converted this panel into pdf and attached it as an email attachment using memory stream. Everything is working fine. Now I have an File upload control outside panel through which I have to attach a file and send it in mail along with the already attached panel. But I am unable to figure out how to do it.
I have developed simple user registeration application form in that after press submit button i am sending mail to user for welcome template as well as i am also get on mail for user details like name email id, and ip address.my problem is the user can receive the mail form my site but i am receive the any user details mail it doesnot shows any exception what is the problem i donno please
There are many customer' order as pdf file stored in one file server.my app just open url (file path) to display pdf file on the screen.Now, boss want me to create a asp.net app to send an email with attached order pdf file which is the same url as intranet. How to complete it?
i am developing an asp.net application to get information from the user and send it to a pdf file. for ex i have a textbox where the user has to enter his name. now this name from the textbox has to be sent to the pdf file. i want to know how to do this.
previously i have sent such information to generate word documents that is working i want to know to generate pdf file from my asp.net page.
How to exceute code after response.redirect? I want to force file download using response.redirect , once the file is downloaded i wanted to show modal pop up to send email. but after response.redirect the popup is not getting called.
I want to write a program that keeps looking out for a file in a folder. That file will be dropped in at a particular time. If no file is recieved at that time, I will have to send out an email saying no file is recieved. How can I do this?