FTPWebRequest - Looking For Code To Pull The File Contents From The Client Computer, Not The Server?
Sep 21, 2010
I have written the following code that successful ftps a file to the proper location as long as the file exists on the server itself....
However, I need the code to pull the file contents from the client computer, not the server.
Here is the code:
[Code]....
When I deploy this application to my staging server and test it, it's looking for the files on the staging server...not my local computer.
View 1 Replies
Similar Messages:
Jan 13, 2011
how to make any text file on the client computer ?
can i get any C# asp.net sample code ?
View 2 Replies
Jan 13, 2011
how to make any text file on the client computer ?can i get any C# asp.net sample code ?
View 4 Replies
Jan 15, 2011
Is there any way to write the client IP and computer name on my server running ASP.NET?
View 4 Replies
Sep 22, 2010
The subject of this thread is my question and I am really very sorry, I cannot brief it. I have generated the pdf file which contains text taken as input by various web-form and have saved it in my local drive then sended it to some email addresses. Now I want to know that how can I save it in client computer and send it to some email addresses provided by Client on demand? I am failed to solve this problem as I don't know how to get INFORMATION OF CLIENT'S LOCAL DRIVE AS CLIENT MAY USES DIFFERENT OPERATING SYSTEM.
View 25 Replies
Jul 10, 2013
When am using below code it's working fine on my local host but when am host on server getting error.
Response.Write("sam "+System.Net.Dns.GetHostEntry(Request.ServerVariables["REMOTE_HOST"]).HostName);
Error:
The requested name is valid, but no data of the requested type was found.
View 1 Replies
Nov 16, 2010
what is wrong with this line of code?
uploadFile.PostedFile.SaveAs("\ddg3584GraphicsWater lilies.jpg")
View 2 Replies
Sep 5, 2010
I have a file on the server that users will have the possibility to download to thieir computer. For example the filepath could look like below. How would it be possible to save this to the desktop or C: etc.. ?
[Code]....
View 3 Replies
Jan 20, 2011
I want to be able to pull the clients date/time and then show it in my asp.net web page. I know if I do now.tostring, it will show the servers date and time. How can I do this?
Using: visual web developer 2008; Asp.net; Access db; VB.net code
View 5 Replies
Jul 30, 2010
I've the Javascript code to do a confirmation before deletion of some records
function confirmDelete()
{
if(confirm('Delete all?'))
{
return true;
}
else
{
return false;
}
}
I've the button code here
<asp:Button ID="btnDelete" runat="server" onClientClick="return confirmDelete();" onClick="btnDelete_click" />
If i've the button outside an update panel (basically i'm using RadAjaxPanel by Telerik) it is working fine. But when the button is inside an ajax panel, even if i click OK for deleting the records the server side code is not called.
View 2 Replies
Dec 21, 2010
I know that setting runat="server" and specifying an id for an iframe control, makes it accessible on the server side but what I need is that the iframe source contents get loaded at server side not client side.Is it possible?Why do I need it this way?
Currently my iframe source site is configured for ntlm authentication and sso which means it would read my windows credentials whereas I'd need it reads the credentials provided by the site which hosts that iframe.
View 2 Replies
Feb 22, 2010
I have a pdf file, how can I extract the contents of the pdf file and show the contents in one of my web page
View 4 Replies
Jan 12, 2011
I have a problem that I have been trying to solve the past two days, but I cannot figure it out...I have a folder which will have 60-70 Excel Files or CSV Files (they are right now). There are no headers in them, but they all have the same # of columns and the columns are in the same order in each fileI need to read each file in the folder, grab the data from the file and put it in a Database file. So all files will be read and then the data from them I guess put in a DataSet and then put into a Database (SQL).
View 3 Replies
Nov 13, 2010
I need to get the top-level domain of a client computer accessing my website. How do I do this? (code snippets in VB would be preferred).
View 2 Replies
Jan 27, 2011
Im using forms authentication on a site. I have a requirement where I have to log the username of the user that is currently logged into the computer. It is not a public site. It is an intranet site at work. I have tried several different methods but they all return the username of the user that is logged into the site. The methods I have tried are below. Note: I would perfer to log the username without the domain.
[Code]....
View 4 Replies
Jan 22, 2011
I have web service on server! This service is calling from the clients applications!
Now how i can get user name and computer name of clients that using this service, for example if application from Clint1 calling this service i want to get computer name and user name of Clint1?
View 1 Replies
Jul 16, 2013
How to convert a asp panel to a pdf file and save that in a particular project inside the website itself?
View 1 Replies
Jan 2, 2010
Is it possible to read data from serial port of client system using asp.net web site. Here is my scenario
I will be having computers connected in LAN and a web application which resides on server. Each client computer will be connected to a external machine using serial port and is ready for reading data, external machine measures equipment details and sends through serial port.Now I need to read the same data using my web page, is it possible?
Like when we do video chatting our web page reads data from web cam and sends the stream to web page. this way how can I read data from client machine to web page.
View 1 Replies
Jan 19, 2011
In Web.Config file,I have <identity userName="CTX_DOMAINldapuser" password="ldapPW" />How can pull these userName and password strings in C# behind code?
View 1 Replies
Jan 27, 2011
I have an asp.net (FW 3.5) web app that runs on an internal network. One specific page needs to "report" in to the web server that it is active and not locked up. I need to be able to run a script (or something) at the client to report the pc's computer name in that report. I cannot find a method that does this. I found several things that would report the WAN IP or host name, but this appears to all be for external facing sites.
View 1 Replies
Mar 25, 2010
I have to copy a file from client machine to server folder without use file upload control.
i tried with WebClient().Like this
Dim onbjweb As New WebClient()
onbjweb.UploadFile(Server.MapPath(serverpath), "POST", LocalFilePath).
Its working fine in localhost.When its deployed in server its not working.
View 2 Replies
Oct 16, 2010
im tryin to upload files to the database using the FileUpload. the upload take place. when i download the file again ( word document, excel document.. a text document (.txt), a winzip file) , it turns that the file is corrupted and cannot be opened.. an image file or an mp3 file doesnt present this problem. my application is developped usin vb.net 2010 and sql server 2005 as the database..
[Code]....
[Code]....
View 2 Replies
Oct 24, 2010
I have a major problem. I have windows 2003 serverm in it I have installed sqlserver and on it several databases that was published for months. Now, the windows 2003 server crashed and I cannot login ti windows anymore. What I have done is to create a new installation of windows and installed again the sqlserver...
Now, how do I get back the latest database from the previous corupted installation? I still have access to the files in the previous installation.
View 1 Replies
Oct 27, 2010
How can I get getTimezoneOffset(); value from the client side in codebehind(aspx.cs file) on Page_load event?
View 2 Replies
Jul 4, 2010
I want to run code at the server(sql update) on a client button click, but i dont want a postback (more specifically, page flicker or loss of scrolling position).
How would I do this?
View 4 Replies