Web Forms :: Send Data From Server On Server?
Oct 23, 2010[Code]....
This code works, but I would like from server to server send the file.
This is not work: Upload("ftp://ftp.test.net/", "username", "password", "www.test.com/file.jpg");
[Code]....
This code works, but I would like from server to server send the file.
This is not work: Upload("ftp://ftp.test.net/", "username", "password", "www.test.com/file.jpg");
I am trying to send some data to my fax server. I got a sample of console program from the server documentation, which works fine, but when i am trying to implement in my web app, its giving the error:
The RemoteServer returned an error:(400) Bad Request..
Below is my code...
[Code]....
I have lot of forms build in XHTML and HTML. how can i perform insert,select,update using sql server.
View 1 Repliesi have a folder on the server which contains jpeg files,mp4 files and also xml files...........
i would like to transfer the folder to a centralised storage server ,i would like to pass the credentials from the web page itself,,,,,,,,
what do i use for it
the storage server is within the network and all it needs is credentials to copy the folder which i m ready to pass....but i dont know the code which has to be used......
whether to use system.io.move
or
httpwebrequest.
it's possible to directly send a PDF mail from microsoft report, or automatically save PDF report on server.
View 1 RepliesI want to send socket information to aspx page.eg. I have 80 clients connected to server. Server is doing some calculation based on the user input and if one of the condition is true, it will send the signal to all the connected clients. I'm the client. The other vendor is the server. Currently, my application is windows based, I want to change it to web based. So, When the server send the signal , I want to receive this signal from the web page.
View 1 Repliesthe idea id I need to send data to the client to the server to inform the server of some events at the client, and i need to send data from server to the client to inform the client of some results on the server. now from client to server is easy I use xhr easy enough. and to send data from server to client I thought of using long polling in xhr so to test I wrote the following code:
[code]
<!-- Test.aspx -->
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>
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.
View 1 RepliesI got an error while sending mail from server, i am using this code:
public static void SendMail(string subject, string body, string from, string to)
{
try
[code]...
This code is working fine in my local system but when i upload it on server then it gives this error. From the last 1 year it was working fine but from last few days it gives me above said error, please suggest me is there any authentication required to send mail from server (my hosting plan is with 1and1.com)
I have a few updatepanel in my asp.net webform . I'm doing some tests and I'm wondering how can i check what data send back to server in different situations ?
View 2 RepliesI am making mailing system and i am using SQL MAIL service and i need to send mail to other server(application and mail server on different locations).so i some how i need to use queue systems. for example if i send 5000 mail then it should go in batch of 500-500. if i write code in core vb.net then user need to stay untill all batches complete. so some how i need a system by which user just click and mail address fetching and sending process works in background as well send in batch.
View 4 RepliesI have been using a C# asp.net email form for a while on an old server (administered by a friend who has moved away) and now I have my own server. The problem is the form appears to send but the message never turns up in the mail box. Because the form used to work, I suspect its my server settings. The code behind for the form is:
[Code]....
I have set the web site up as ASP.NET and the pages load ok etc. So I go to the form, fill it out and it is processed and I get the confirm message. What do I need to check at the server end? Sorry if its a dumb question I am quite new to the finer points of server management
how to send mail in asp.net using c#.. i'm using SMTP server method but its not accurate it consumes lot of time to reach distination address.
View 12 Repliesbelow is the coading to send email(just see the bold line). I just want to know which server i should use to send mail or which server is require to send mail.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As_
System.EventArgs) Handles Button1.Click
Dim mailMessage As New MailMessage()
'creating an instance of the MailMessage class
mailMessage.From = "[URL]"
'senders email address
mailMessage.To = "[URL]"
'recipient's email address
mailMessage.Cc = "[URL]"
'email address of the Cc recipient
mailMessage.Bcc = "[URL]"
'email address of the Bcc recipient
mailMessage.Subject = "Hello"
'subject of the email message
mailMessage.BodyFormat = MailFormat.Text
'message text format. Can be text or html
mailMessage.Body = "This tutorial is sending email with an ASP.NET app."
'message body
mailMessage.Priority = MailPriority.Normal
'email priority. Can be low, normal or high
SmtpMail.SmtpServer = "[URL]"
'mail server used to send this email. modify this line based on your mail server
SmtpMail.Send(mailMessage)
'using the static method "Send" of the SmtpMail class to send the mail
Response.Write("Mail sent")
'message stating the mail is sent
End Sub
i am building an intranet for the company and i when a ticket is raised i want to select a person and send them that ticket. I have the gridview in place and the users email address. All i need is some simplle send mail code in c# to get it going. I am not sure on what i have to do weather i have to authenticate it and if the fact that exchange is on a sbs 2008 server called server01 and the intranet is on server02 they are both on the same domain.
View 18 RepliesWhile sending password value from client side to server side i need to encrypt textbox value using javascript and receive that encrypted value in the server side. Here in the link you'll find one example which will send encrypted value of textbox from client end to server end. I'm trying to implement the same code, but this doesn't send encrypted textbox value from cilent side to server side. I do google regarding this, but no positive result found till now.
View 1 RepliesI want to send emails using SMTP server in ASP.Net. I amusing C#
View 1 RepliesI have the following form and trying to click a button and email through an SMTP server.
[Code]....
Code behind:
[Code]....
Web.config file:
[Code]....
I am developing an web application using VB.NET in which user have to confirm the email address they provide to activate the account, in short I have to send an email for activating there account. I am all set with the logic and codes, the only trouble is I just realise that i need a mail server and domain to be able to send email.
To be honest with you all i need now is something to try if the application is working and obviously for demo. I havent got any domain yet and no intention of buying one.
I'm working with asp.net c# web application. We have completed site and hosted in dedicated server (own server).
This server having only one site (sharepoint site). A page having 1000+ images. Loading in base page. And slide show in popup page.
Base page image painting is going on. At same time popup page image is not loading up to base page paint complete. I changed popup image download to some other server means working fine.
Here my problem is same domain more than 2 request web server (iis) not responding up to first 2 requests complete. We can call 2 requests at a time. How to increase more than 2 request in ie. This problem is not available in Firefox. Firefox can manage more than 2 requests. Ie not allows only 2 requests to one domain at a time.
How to send more than 2 requests from ie to a domain?
The user clicks on a button on a page and as a result he gets a new page send back.
Most times everything is fine now, but sometimes this page needs to be updated within a few seconds but the user don't knows this.
I know I can poll from the client site with reload, but this does not fit here.
I need a kind of push update from server to client ... the action must be initiated from server, not from client ...
I want to send mail from a website using mydomain name with all the credentials need like port, domain name etc.
View 1 RepliesHow to insert data from local SQL server to remote SQL server (without using linked server) like below?
insert * into [remote server].[northwind].orders
from [local server].[northwind].orders
Previously I had thread Send Mail? That helps me to send mail through Gmail credential account. Now I want to send Email through my server (suppose my server name is [URL]) so what should I do?
View 3 RepliesI hava a web form to fill a pdf, add attachments and send it through email. I need to fisically delete the attachments after send the email. I have some problems (exception) that says "the file has been used by another process". This code is in a function that create the message with the attach.
[Code]....