Remote File
if ASP can read remote file like php does.I am trying to read this weather forecast page, and only output certain line from it.I only know how to read a local file using server.mapPath()
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Parsing Remote File
I'm using the code below to get the contents of a remote file on my domain. The problem is all the "£" signs are being changed to "?" signs. Does anyone know why and how to fix it. Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") url "http://www.domain.com/file.asp" xmlhttp.open "GET", url, false xmlhttp.send() Response.write xmlhttp.responseText
Remote Txt File To Marquee
I'm trying to write an ASP script that will draw information from a remote txt file (Simple Weather Information) and then display it in a marquee.I've managed to write the marquee script, but am having trouble with the remote connection via DSN-Less or any other way.
File Copy To A Remote Mechine
I have sucessfully able to copy file to a remote mechine in our network by writing some asp code. To make it sucessful, I had to keep destination folder in remote mechine as "Share" for IUSER that my ASP code running with. I thought just giving the IUSER write permission on the destination folder will allow to copy the file. But it does not, I had to keep the folder "Shared". Is there any way that I can copy file to a remote mechine without havving the folder "Shared".
Upload File To Remote Computer
I'm looking for a method to upload a file from a site to the Unix server running my database. How can I connect this computer to create a file on it ? and can can I read and write the files on it ? I'm able to upload to the server running IIS but that's not what I want.
Load Text File From A Remote Server?
Is there a way to load a text file from a remote server into a string much like using the Inet Control in VB? I am familiar with reading in RSS feeds, but what should I do if the content is a straight text file?
Cannot Access Remote File From Mapped Drive
I want to access files from a remote server so I mapped it in my server under z: for myserverwebmysiteimages I added this UNC path to my IIS virtual directory and name it as "upload" but I still cannot use any FSO to read it. Here is my code:
Fetching Xml File Data From Remote Server
We are working on a real estate web site which lists real estate listings from different affiliated realtors. Our client wants to have a system where it display real estate listings from affiliated realtors without having to enter listing information into our database. Affiliated realtor will provide a link to xml file containing listings information and we have to fetch the data from it and display it into our web site. The xml file will be on some other server. Is this possible?
Save A File From Remote Location To Local?
Is there a way to save a file from a remote location to my local computer with asp? Let's say as an example that I would like to save a file from http://www.somesite.com/file.txt to c:file.txt on my pc using an asp page located either on one of the two locations?
Asp Copy File From Local To Remote Share Drive Disk
I have two machines, one generate files, and copy to the other. I try wscript.shell in my program, but it dit not work. The two machines are not in the same domain. I saw some people's question but not suitable for me,their machine are in the same domain. They can assign permission to do the job.
Remote ASP
I have an application i am creating that will require the ability for a remote site to access some of the abilities of the program. For example: Program will have a product manager and the webmaster will need to be able to place the product information on his/her remote site. another funtion: the remote site will need to pass variable data back and forth between the application hosting server and webmasters site. I have thought about using cookies or XML but cookies are kinda limited in respect to what i need and XML requires an XML enabled browser like IE 5+. Am I missing something? any ideas on how i can accomplish this
Remote Name
I was wondering if it's possible to get "the name" istead of ip from a user that runs a asp page? cust10354-344.someisp.com istead of 231.13.434.23
Remote Scripting
I am upgrading an ASP app that implements javascript remote scripting. The probem is that the application works fine except when any remote scripting is called. Does remote scripting work under IIS6.0?
Remote Scripting
I would like to use the Remote Scripting method. Where can I find the latest scripts ie (RS>htm, RS.asp & RSProxy.class) for this operation?
Remote DB Access
If I have the line adoCon.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("produkten.mdb") to access an Access Database local to the site, is it possible to have something like adoCon.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=http://www.somesite.com/somedb.mdb" To allow the site to connect to a db on another site/server which also belong to me?
Remote Scripting ASP
I use the RemoteScripting with the rsproxy.class within my asp pages. I don't have problems except, when the Java console is not active in IE. Is there a way to detect from asp, if the java console is active or not ? or, how to do remote scripting without the rsproxy ?
Remote Hosted Asp
i have just completed the charity web site www.leahpattison.org (please give your support) and i have the news system that they can update hosted on shared hosting on a sub domain of one of our core domains leah.neue.co.uk on the main sites home page i have a scrolling news ticker in an iframe that calls a page from the 'news server' and whenever you click on a news item it pushes you onto the news server to deliver the pagesonly it keepstiming out. anyone have any suggestions? the host say 'because we host many asp sites we have a lot of traffic hitting msaccess databases, some of which do not properly close their connections' basically tough luck. is there any way i can make this site more efficient and make the news system work?
Remote Scripting
I have a Web application that uses Remote Scripting to provide dynamic data to a web page.I am testing the application in Internet Explorer 6 SP1 running on Windows XP Professional. When I use the Microsoft JVM,the application works without any problems.However, as a result of future withdrawal of support of the Microsoft JVM as a result of the settlement with Sun, I need to ensure that the application works okay with the Sun Java plug-in for Internet Explorer. this component is no longer available,and clicking on the OK button only reiterates this message. When I click on the Cancel button instead, the Remote Scripting functionality fails to work.Is it possible for Remote Scripting to be configured to work with an alternative JVM, such as the Sun Java Plug-In, or is it entirely dependent on the Microsoft version?
Remote Database
IM trying to put up a small database in my website and having my visitors to search it. A record of this database will have four fields: The first one will hold a number, the second one a Street name, the third a City, and the fourth a picture. The database will be searched either by the number or by the city.
FSO On Remote Server
We're wanting to upload files and save them to a different server on the network (Windows 2000) from the web server. The upload works fine but we cannot copy files, using the File System Object, to this other server folder. what is required in terms of mapping and registering the folder so that the web server can link to it?
Remote Server By FSO
I just want to delete a file in a server by FSO. My code is: Set objFSOD = Server.CreateObject("Scripting.FileSystemObject") objFSOD.DeleteFile Server.MapPath(".") + "Greetings" + sFileName1, True Set objFSOD = Nothing When I check the code locally, everything is fine. I have two remote servers. When I check the code in each servers, one is fine and other is thrown a error. But the error msg is in Korean language while I'm not korean, that is why I can't read the error msg. What would be the error msg about? The sFileName1 was always correct every time I checked.
Remote Truncating Of Logs
Every so often my database log files fill up and i have to truncate the file. DBCC SHRINKDATABASE (database_name_here, TRUNCATEONLY) GO BACKUP LOG [database_name_here] WITH NO_LOG Any idea how I could run this? From an asp page...?
ASP.net Not Working On Remote Server
Localy along with VS2005 when hitting ctrl+f5 the asp application server get's launched, and the whole site works fine, now on my windows 2003 server i installed IIS, it also has apache running and that works fine but the IIS part, i cant get it to work.... i have my inetpub filder on c which has a www folder but when i copy my project to there it tells me it's unable to process the page (aspx), can somebody help me out here please..... I did the configuration and rule statements in the server manager which now displays ASP.net working and active, but it does NOT work at all....
Mapping Remote Machine
I was susseesful in mapping remote machine with vbscript. Now I am building the same tool with ASP .I am using the same code but its not working. Below is the portion where I am mapping the drive: Code:
Execute A Remote Command
I have a shell script that needs to be executed on a unix machine on our network and text output needs to be retrieved How can I make a asp.net page do it ? is there a way to batch execute the command that I execute in the command prompt and just retrieve the outoput. Here is what I am manually executing currently from the dos command prompt Step 1. telnet <unixmachine> Step 2. login <login name> Step3. I Provide the password Step4. once logged in to the machine I Provide the <shell script command> The results of the script get displayed on my command window. I copy and paste the result can the above be done through asp/asp.net page
Why I Can Not Access Remote Database
I have asp page needs to access remote database, I got error"The Microsoft Jet database engine cannot open the file 'Unknown'. It is already opened exclusively by another user, or you need permission to view its data. " Could anyone show me the steps to configure permission (I tried creating IUSER_DBMACHINE local account on the database box, give this account full permission on the database folder, doesn't work.
Remote Scripting Vs XMLHttp
I have a form where I want to be able to validate a field against a DB *before* the form has been submitted. After doing a bit of homework, it seems there are two general approaches: 1) Remote Scripting [using RSExecute/RSGetASPObject] 2) Using XMLHTTP/XMLDOM objects I have no experience with either, so I though I'd see what my peers are using.
CDO - And Remote SMTP Server
1. I wonder, why do I need to add the following lines when sending forms through mail, using CDO component? 2. If I remove these lines and the form is still submitted as it should, and I get the mail as a result as it should, does it mean I do not need these lines? 3. In other words - How do I know if an SMTP service is installed on the local server, and not in another network (besides asking the admin)? Code:
Calling A Remote CGI Script
In cold fusion I had a simple script that called a CGI script on another machine (Remote location) It send a few variables, and got back a string of data that needed to be parsed through and have variables set to it. It worked something like: Code:
Remote Desktop Connection
I want to create a web page with a list of servers but in the link of the server name, execute an RDC connection to that server/desktop.
FSO Remote Server Access
Wish I'd found the thread yesterday before spending half the day fighting the same battle and finding a workaround. But at least it explains why my final approach worked.I set the remote folder as a virtual folder on the webserver, assigned web rights to a domain user and used fso.copyfile(server.mappath) to copy a file created locally.I'm not thrilled that access to the remote location can't be controlled at the user level this way but at least access to the calling script can. Strange though, the problem showed up during a migration. Server A had been hosting this asp page and connecting to server B sucessfully. I was moving the application to server C when I ran into the problem. All three machines are W2K, same service pack, same domain, same users, same access rights/method configuration. Go figure.
Database On Remote Server
I try to get data from a database which is on an other server. I can view the files on this server via the directory "t:" from the machine the ASP pages are on. Constring: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=t:database.mdb" Error: 't:Database.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
Stop Remote Posting
How can I stop some one from trying to post my form from a remote site. I am getting some one cycling through usernames trying fpr passwords on a web site.
Connecting To SQL Db On Remote Server
I need to connect to a SQL db on a remote server but my connection string doesn't appear to work as the page just keeps timing out. The physical url of the db is (not real IP) 0.0.0.0/Databases/query and the connection string looks like so: strConn = "Driver={SQL Server};Server=0.0.0.0/Databases/;Database=query;" What should the connection string look like?
Remote Scripting Error
I'm using remote scripting and get an error : "Object doesn't support this property or method" The problem is that I dont get this error message when I'm accessing the page from another computer over the network,I only get the error when I'm accessing the page on the local machine. Any ideas on how to fix this?
FileExists On Remote Server
how to use FileExists to check to see if a file exists on a local server BUT what if I want to check if a file exists on a remote server (webserver)? If I enter "http://domainname/folder/image.jpg" it always returns false.
ComputerName Of Remote User
I am attempting to retrieve the computer name of a remote user accessing our websever. I have tried the following and both don't work. Any ideas? Returns the webserver computer name Set WshNetwork = CreateObject("WScript.Network") response.write (wshNetwork.ComputerName) Also tried this and I get a permissions error. Set Sys = CreateObject("ADSystemInfo") response.write (sys.ComputerName)
Use A Remote Xml Source With An Ado.recordset
how can i load in an adodb.recordset a remote xml file on another http server. if i use the simple ole-db provider, that work as an admin only. (according to ms, this component mustn't be used for non-interactive users. So i found serverxmlhttp but ... i can load the remote source in, i can load it in an domdoc, as describe in the msdn, but, as my files are encoded for french, they can't be open by the recordset. so my question is the following ? is serverxmlhttp the only way ? if it is, how to make it work properly in this case ?
Remote HTML Parser
I'm looking for a solution that would enable me to specify a remote URL and parse the HTML (doing various things like replacing links or image refs) and then deliver the revised page to the browser. I know it's possible, because site search engines and W3C Validator do that sort of thing, but I can't find anything suitable on the web. Basically I need the plain ASP source code - I don't want anything that would require me to install new components.
Asp Forms In Remote Server
im hosting my website in linux server...so i need to develop an enquiry form....my fren is hosting in a windows hsoting server and he have the asp enquiry coding.. is there any way i can do remote coding hosting ...where the enquiry form will be in my php server and the asp coding will be in my frens windows hosting server..
Searching Remote Sites
Is there some way to search a remote site. I want to create a site that will take some information from a client in a form, and use that information to search a website and take certian results and display them to the client. I think that travel websites like expedia and last minute work like this.
Get Remote Registry Keys
Is it possible to get a key from the registry if a remote machine?We have three print servers (tin) serving an ERP application for different areas of the business.Currently someone has to logon and check to see if the servers are still running each morning. However while they are running they increment a key in the registry once every second each time they poll. If I can get ASP to read this value, I should be able to setup a webpage to monitor the situation.I've found RegObj.dll on the Microsoft site, but this doesn't seem to work in ASP.
Remote Access Database
I am connecting to remote access database through my asp script. The Access database is on a different domain and my webserver(where asp scripts reside) is on a different domain.When i ran the script i got this scary error message:Code: Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x3a8 Thread 0x7c4 DBC 0x2770ff4 Jet'. i think this is related to some permissions issue, but not sure how to correct it.
Remote Access To SQL Server
I was given the following by my host: Database name: asdfafasf IP/Host: 11.111.11.111 Server: asfafaf Username: afafdadaf Password: adfadf Every program I use (excluding Enterprise Manager - I don't have it) to connect is unsuccessful. Access Projects for example, when I try to establish a connection, it doesn't ask for IP/Host.
Read A Remote Page
here is my code: set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP") objXMLHTTP.open "GET", "http://www.xxx.com/index22.asp", false objXMLHTTP.send "" intStatus = objXMLHTTP.status response.Write(intStatus) let say the addres is not exist, but the web server will auto redirect the page to a user customize page, and the object track the page as 200. Is there any way to track the error even the page is redirect to a 404 page ?
Folder On Remote Machine
I am having problems creating a folder on a remote machine. I keep getting a error 70 Permission denied. Of all the samples I have seen, I can't see what I am doing wrong. Code: dim dirName dim machIP dim folderPath dirName = "myDir" machIP = "123.123.123.123" folderPath = "" & machIP & "c$" & dirName Set fs=Server.CreateObject("Scripting.FileSystemObject") if Not fs.FolderExists(folderPath) = true Then fs.CreateFolder(folderPath) end if
Remote Scripting Language
I am using Microsoft remote scripting for a site that I am making. Everything is going pretty good except one thing. My values which I want to store in the database(this procedure takes place in the calling page) are being stored with wrong and wuth no sence characters. So far I understood that using remote scripting for languages more than English is impossible. Am I right or is there a tip for using it for every language eg Hindi etc etc? I need an answer to this because I am trying to solve this problem for more than a month.
ADSI Remote Access
I'm trying to access the ADSI data on a remote machine in my network usng ASP and the GetObject("IIS://...") call, but I keep getting an "Access Denied" message. It works perfectly on the localhost. Did anyone pass by this problem?
|