473,473 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

File download +ASP

7 New Member
Hi,
I have a webserver which support ASP,VB Script and JScript.
I want to download file and put in device.
I referred to web for downloading files.
But the code had
Set files=server.createobject('Scripting.dictionary')

But my webserver doesn't support 'scripting.dictionary'

Is there any reference where i can download files or images without
'scripting.dictionary'

Pls. suggest.i am new to alll.
If u know any reference website pls. tell us.

Regards,
Kirthika
Oct 15 '07 #1
3 1470
markrawlingson
346 Recognized Expert Contributor
I think the problem is your single quotes. Single quotes donate a comment in ASP, so asp probably thinks you're commenting out everything after the opening parentheses and will attempt to run... Set files=server.createobject(

...which obviously won't work, and thusly throws an error.

Try double quotes and let us know if that works.

Expand|Select|Wrap|Line Numbers
  1. Set files=server.createobject("Scripting.dictionary")
  2.  
w3schools - dictionary object is a good resource for the dictionary object in ASP.

Hope this helps.
Sincerely,
Mark
Oct 15 '07 #2
Kirthikaiitm
7 New Member
I think the problem is your single quotes. Single quotes donate a comment in ASP, so asp probably thinks you're commenting out everything after the opening parentheses and will attempt to run... Set files=server.createobject(

...which obviously won't work, and thusly throws an error.

Try double quotes and let us know if that works.

Expand|Select|Wrap|Line Numbers
  1. Set files=server.createobject("Scripting.dictionary")
  2.  
w3schools - dictionary object is a good resource for the dictionary object in ASP.

Hope this helps.
Sincerely,
Mark

Hi,
Sorry i have put double quotes only

Set files=server.createobject("Scripting.dictionary")
It says it doesn't support Scripting.dictionary
Is there any reference to dowload file and save without
Scripting.dictionary
Pls. suggest.

Regards,
kirthika
Oct 16 '07 #3
jhardman
3,406 Recognized Expert Specialist
Krithika,

the dictionary object should be supported by all versions of ASP, but that said, I'm not sure how I would use a dictionary object to download a file. Could you give a little more details of your exact needs? Can you not just put a hyperlink to the file in question on your web page?

Jared
Oct 18 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: KLomax | last post by:
I have a VB6 com object that uses ADO 2.1 for data access. I have referenced this object in a aspx application. It works fine on my local development machine. On our staging server, it errors when...
5
by: Andrew | last post by:
I am running a windows 2000 sv with IIS. My asp script creates a text file with an activation generated and put into the text file, so that the text file can be inported into a software program tha...
0
by: karunakar | last post by:
Hi All I am not able to read the class name I want read the particular class name string path = System.Configuration.ConfigurationSettings.AppSettings; string className = path + ".User";...
0
by: Baruaa | last post by:
hi i m asheesh , can any on ehelp me about this error. Line 57: --> Line 58: <httpHandlers> Line 59: <add verb="*" path="*.vb" type="System.Web.HttpNotFoundHandler,System.Web" />
3
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
2
by: aallee83 | last post by:
i'm new in asp.net after develop my solution i copied it on the server where I want it to run but something cares... WHAT?!?! thank you in advance File or assembly name System, or one of its...
6
by: Divya | last post by:
Hi, I have a web page which generates a CSV file based on some user input. When this file is downloaded by the user, the file is being automatically converted to .xls. Any idea how I can prevent...
1
by: Roy | last post by:
Hi, I have a problem that I have been working with for a while. I need to be able from server side (asp.net) to detect that the file i'm streaming down to the client is saved...
3
by: Jim | last post by:
Hi, I have an assembly and it's satellite in my GAC. I have referenced the DLLs in my project (from the same location where I added it to the GAC). CopyLocal is set false. When I run the...
2
by: Andrew Jocelyn | last post by:
Hi I get this error when I change something in the web.config file. When I build the VS projects and load the first web page the application runs fine. If I then make a save the web.config file...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
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...
0
agi2029
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,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.