FSO To Create File On Client Pc

im creating an asp using the file scripting object but i cant create the file in the local pf of the client, but rather saves on the server folder.

View Replies


ADVERTISEMENT

Create A File In Client System

How can i save the textarea(retrieved from DB) data to client system as a textfile.
I am using filesystemobject to create a text file with the path

set fso=server.createObject("scripting.filesystemobject")
set ctext=fso.createtextfile("c:mydata.txt",true)
ctext.close
set ctext=nothing
set fso=nothing

But it is storing in the server cwebserver c: drive)
My users will access simultaneously in my LAN. They use these textfiles to print in DOS mode. Coz it contains large and formated data and to print faster.
How can i store the generated output to the client system only instead of server. B'coz the data generated is diff for each user.

View Replies View Related

Trying To Create Client Page For Site Running Asp

I work for a security system company. I'm in the installation department. One of the things we do is go to our monitoring service's website and check the signals to see if we got all of the signals for a particular alarm system.

Unfortunately, that means refreshing the page alot.

So, I started off using an iframe page to refresh the content i wanted. the only problem was that the urls i used to login and set the customer ID would go to another page.

So I tried to create a frameset document. However, the .asp pages completely ignored the frameset information. Code:

View Replies View Related

Client Side File

I have a need to transfer a graphic file to a user's system and then
access that file. I must have the drive letter:path location of the
file. If at all possible I'd prefer that this not require user input.
(Note that since this is my app and in a corporate network, I have the
server in the Trusted Sites zone and every single action is marked
"Enabled" in the IE security settings and users will be using IE
exclusively.)

It doesn't matter to me how the file gets to the
client, save that it get there from IE, and the file is initially
retrieved via a url I give the client. I have even looked into
reading the file out of the IE temporary files but have had no luck.

View Replies View Related

Running Exe File In Client PC

Is there any wayto run an exe file in the Client PC with ASP, bypassing the security warning popup?

View Replies View Related

Download CSV File In Client

how I can save my the result of my SQL Select query in a CSV file and later on
download it in the client side (showing the Save As dialog box...)?

View Replies View Related

Client File Explorer

how can i see directories and files on my computer? if its FSO please explain how?

View Replies View Related

Writing The File On The Client Side

I have developed a windows 2000 based web-based

application which uses only HTML and JavaScript code for the

client side and C++ on server side .

Now i need to implement a feature to implement "writing the

log file" on the client machine for this application. As

JavaScript doesn't support client side file writing i think i need

to use ASP or similar language.

1. Is it possible to write on client machine using ASP??

2. If it is possible please thow some light on how to implement
this.

3. Will my code be stable if i embedd the ASP code into the exisiting HTML & JavaScript code?

View Replies View Related

COPYING A FILE TO CLIENT SIDE

how can i copy i file from server to client side ... any solution or can it be?

View Replies View Related

Download File From Server To Client In Asp

we have some exist file at server site.we wants to open it from any client by simple browse or click on file. is tre any tool to do this or any script.

View Replies View Related

Save File To Client System

How can i save the textarea(retrieved from DB) data to client system as a
textfile.I am using filesystemobject to create a text file with the path

set fso=server.createObject("scripting.filesystemobject")
set ctext=fso.createtextfile("c:mydata.txt",true)
ctext.close
set ctext=nothing
set fso=nothing

But it is storing in the server cwebserver c: drive)
My users will access simultaneously in my LAN. They use these textfiles to
print in DOS mode. Coz it contains large and formated data and to print
faster.
How can i store the generated output to the client system only instead of
server. B'coz the data generated is diff for each user.

View Replies View Related

Examine A Client-side File

What I'm trying to do here is have the user select a file of thier local machine (dont know what format to make the file yet, examining this problem b4 development) From that file, certain fields on the page will be populated automatically. The file they will select will have been saved from a visit to a different site I created so no worries about formatting.

But I can't seem to figure out how to do this without actually uploading the file.

To repeat, I just want to examine the file and be done with it. If I can't do this without uploading, then could someone explain how I do that because I've been having trouble finding a source that doesnt want me to buy thier .dll. I find it hard to believe that IE would implement input type=file and IIS would not have it's own method of getting that file.

View Replies View Related

Prevent My Client To Delete File

We have offer a web space to hosting our client website. We offer them to upload asp files to their web space. How can I prevent the client from uploading asp files that will harm our web server.

For example, deleting files in our server using Scripting.FileSystemObject to delete our systemmfiles.

View Replies View Related

Check If File Exists On Client

How can I check if a file exists on the client? I have a form which requires the user to upload a document from their computer. In the event they don't enter a valid path to the file the form does not submit. How can I check if the file exists and if it doesn't, provide a suitable response?

View Replies View Related

How To Detect That File Has Been Downloaded On Client Machine

I am working on a web application where i allow users to download text file , the content for this file will be retreived from the database and is passed to the ADODB.stream and is read into Response.binarywrite

I am using the following code which i have got from a forum Code:

View Replies View Related

How Do I Install A MSI File From Webserver On The Client Machine.

I have a web server running on a machine. When the users
connect to that machine, it loads the ASP page. The ASP
page has a ActiveX control on it and it gets downloaded to
the client's machine. I have made the control as a signed
control so there is no problem in download.

Likewise, in the virtual directory path on the server, I
have one clientsettings.MSI and that needs to be run on
the server. Whenever the user tries to connect to the web
page, in onload event of the web page, the .MSI file
should be installed on the clients machine. For this to
happen what all needs to be done ?

View Replies View Related

File Download From Web Server To Client Field

How to download the file from web server to client machine? If anybody have idea, inform to me.

View Replies View Related

Creating Text File In Client Side

send me the code for creating text file on client side through asp. or is there any way to direct copy a file from server to client without asking to downloading the file?

View Replies View Related

Delete File On Client Side Machine

Is it possible to delete a file on a client side machine using VB/JAVA script?

My website allows the user to upload a file to the website and after that I would like to delete the file on their machine tried this:

Set fso = CreateObject("Scripting.FileSystemObject")
fso.DeleteFile("C:1-1-S.xml")

But it is always looking to the server machine? How do I say delete file XYZ on client machine. Is this even possible with the security issues?

View Replies View Related

How To Check The Size For Upload File On Client-side

I am developing an web application, it should has the function to upload file from client computer. The uploaded file size can be limited within 10 MB.

But I dont know how to check the size of the file on client-side. Server-side size check is not enough, because it can not be checked until the whole file is received while the server resource(cpu,memory etc) is wasted.

View Replies View Related

File Creation On Server, Without Wasting Client Time

I have a chunk of code, where based on the user's selections, it goes through a database and selects all of the records from the database and writes them to a text file (the database contains nearly 600,000 records), currently, the file is written and the user would end up having to wait for it to be written, before continuing.

Is there a way that this file could be kind of.... tagged or something, so that the server creates it in the background, instead of while the user waits, so the user can continue doing other things, rather then having to wait for the text file to be created.

The files can be quite large, as they can end up being anywhere from 1 - about 600,000 records with between 4 - 10 fields each. Here is a sample of the code that creates the text file. Code:

View Replies View Related

Adding Records With Client-side Excel File

With ASP, how can I automatically add records to a database with an excel file residing on the user's machine? Assuming the excel file has the same field names/datatypes/order as my database table's fields.

View Replies View Related

Create ASP File On The Fly

I'd like to create ASP file on ther server side. Can I use
fso.createtextfile("c:folder est.asp")
Do I need to create a folder too?

View Replies View Related

Create Xml File With Asp

is it possible to create a xml file and save so that i can upload with asp?

View Replies View Related

Create Txt File

How can I simply save some data into a flat file (.txt) ? I've some data available and if the user clicks on a button it will save that data into the flat file... The user also need to define the directory (as in VB the common dialog box)...

Is this possible ???

View Replies View Related

Cannot Create ASP File

I have Windows 2000 and recently included Internet Information Services. I
then created a simple ASP file and clicked on it. The Open With dialog
appears asking me to select a program. I copied an existing ASP file,
test.ASP from another computer where it runs successfully. When I copied it
to my computer it changed to test.ASP auto file. The other computer runs
Windows XP. I am not sure is this is the issue. I verified the IIS is up
and running on my computer. Is there anything that can be done to correct
this?

View Replies View Related

Using ASP To Create DOC File ...

I am using ASP code to create a Word document on the server and all is working except for one thing: I need to be able to insert page breaks. My existing style formatting for page breaks does not seem to insert a page break into the Word DOC. Suggestions? Code:

View Replies View Related

Create Ql File

I was wondering if it is possible to create an sql file using asp to back up a tables contents at all?basically I want to make a copy of each table we have on the server into an SQL file so we can move it elsewhere, the server techs want to charge us for the backup copy so I want to get around paying if possible.

View Replies View Related

Cant Create File???

i'm using window XP (hope this is not the reason) i cant create a file in my computer but it works on my school server

**********************************************
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set OutputXMLFile = fso.CreateTextFile("c:xx.htm",true)
**********************************************

everytime i run this method my IE hang(???) so, is it my IIS configuration problem or else.

View Replies View Related

How To Create Pdf File?

I want to create pdf file for reports using asp code.

View Replies View Related

Create New File

I know this is a lot to ask but if you have time please have a look and see if you can figure out why the following page to create a new ASP page on the fly seems to work but the output page doesn't seem to be there: Code:

View Replies View Related

How To Create A PDF File

So, is there anyone can post sample code which cab generate the invoice, also it can be viewed by PDF file online.

View Replies View Related

Create A .zip File

is it possible to create and asp page that can. zip a file and ate the same time unzip it.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved