Is this the correct newsgroup for this posting?
I have a problem when using these lines of code:
Dim xmlhttp as Object
set xmlhttp = CreateObject("M icrosoft.XMLHTT P")
Call xmlhttp.Open("G ET", Application.Pro files.ActivePro file.Server &
"/Test.abc", False):
Call xmlhttp.send("" );
when the last line of code is executed, i get the following error message:
"The download of the specified resource has failed. -2146697208"
Application.Pro files.ActivePro file.Server = http://x.x.x.x/virtualdirectory
What is wrong with this code?
Thank you 2 2390
serge wrote: Is this the correct newsgroup for this posting?
Only if you are doing this in server-side asp code. If you are doing it in
client-side code, then .scripting.vbsc ript would be your best bet, unless
you need to support non-IE browsers, that is, in which case
..scripting.jsc ript would be better.
I have a problem when using these lines of code:
Dim xmlhttp as Object
No, you're definitely in the wrong place. This is not vbscript, so it can't
be ASP.
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Thank you Bob for pointing me to the correct newsgroup, i will post in there
next time for
vbscript related code.
I think i found the cause of my problem. If i try downloading a .ABC file it
works.
My actual problem was downloading .VBA
It looks to me the firewall most likely is blocking the .VBA to be
downloaded
(or maybe the anti-virus), because if i try downloading .EXE, that fails
too. Is this the correct newsgroup for this posting? Only if you are doing this in server-side asp code. If you are doing it in client-side code, then .scripting.vbsc ript would be your best bet, unless you need to support non-IE browsers, that is, in which case .scripting.jscr ipt would be better.
I have a problem when using these lines of code:
Dim xmlhttp as Object
No, you're definitely in the wrong place. This is not vbscript, so it
can't be ASP. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dan Sikorsky |
last post by:
Uploading from browser to server using Msxml2.XMLHTTP takes a long time about 15 minutes for a 1.5MB file at 37.2Kbps, although it does get there. Is there anyway to speed things up?
here's the code ...
var sFilename = (document.form1.myFileName.value);
// create ADO-stream Object
var ado_stream = new ActiveXObject("ADODB.Stream");
// create XML document with default header and primary node
|
by: Sky Sigal |
last post by:
I have created an IHttpHandler that waits for uploads as attachments for a
webmail interface, and saves it to a directory that is defined in
config.xml.
My question is the following:
assuming that this is suppossed to end up as a component for others to use,
and therefore I do NOT have access to their global.cs::Session_End()
how do I cleanup files that were uploaded -- but obviously left stranded
when the users aborted/gave up writting...
|
by: david.lindsay.green |
last post by:
Hello all, I am quite new a web scripting and making web pages in
general and I have stumbled across a problem I have as yet been unable
to solve. I am trying to take the contents of a textarea box and save
it to a file. This step is not to hard however the contents of the
textarea is mostly latex source so it contains just about every special
character you can imagine. My question is this, how do I save an exact
copy of the textarea...
|
by: pbd22 |
last post by:
Hi.
I am somewhat new to this and would like some advice.
I want to search my xml file using "keyword" search and
return results based on "proximity matching" - in other words,
since the search string will often not produce a direct match,
the results will be based on proximity (50%, 20% 100%, etc).
are there any good examples out there on how to do keyword
searches on XML data? How should i set up my xml file so
|
by: twiggy182 |
last post by:
Hi,
I really need you help because I'm not very familliar with ASP and I
could not find any solution to my problem.
To put you in situation, I have a CGI to which I send a file name, and
that script return me that file. But for security reason, I don't want
to publish the address of this CGI, so I encapsulated it in an ASP
file. This way, only this ASP file knows where the CGI is.
| |
by: chadschultz |
last post by:
Hi there! A friend of mine asked about how to have a line of HTML be
written based on whether or not a certain file exists in the server. So
if the file is there, a line of HTML is printed; if the file is not
there, the HTML is not written and the browser continues on its merry
way through reading the rest of the page.
I know, of course, that server-side languages such as PHP, etc. would
have no difficulty with this. But can javascript...
|
by: ak1dnar |
last post by:
Hi i need to download some files (.pdf/.doc) from web root.
I am using a ajax script to send the file IDs and PHP will process it and it should generate the save as dialog box.
Currently without ajax when i process PHP file i can open the download box to save the file.
example:
http://localhost/website/download.php?fid=1005
but when i am sending the fid (using a onclick event of a Image i am sending the ID to JS func ) through Ajax...
|
by: SM |
last post by:
Hello,
Im trying to access elements in my XML file using the JavaScript DOM
but i'm not sure how. I use AJAX to access the XML and then use the
responseXML property to access the XML file data.
I want to extract all the tracks from a specific CD.
Right now, im using an array to stock all the data but its just a
question of time before everything blows up because of the size of the
array. Thats why im want to use an XML file (later i will...
|
by: wasif |
last post by:
I am trying to upload file using ajax and php but having some problems. it always says that there was a problem and file is not uploaded. here is the code
form and ajax code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled...
|
by: VK |
last post by:
On Apr 21, 1:54 pm, joe <m...@invalid.comwrote:
http://www.jibbering.com/faq/index.html#FAQ4_18
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |