473,378 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Save File Automatically

Jay
Hey there,
Is there a way to have php automatically save a file that is being
downloaded without having the annoying "Save As.." dialog box that
appears? I would like to be able to create a txt file on the server and
automatically have it save in a user's specified folder.
-Jay
(patel at cs dot utk dot edu)

Aug 11 '05 #1
3 2707
Jay wrote:
Hey there,
Is there a way to have php automatically save a file that is being
downloaded without having the annoying "Save As.." dialog box that
appears? I would like to be able to create a txt file on the server and
automatically have it save in a user's specified folder.
-Jay
(patel at cs dot utk dot edu)


no - PHP is serverside. Where / how the browser stores files is client side.

C.
Aug 11 '05 #2
Jay (pa***@cs.utk.edu) wrote:
: Hey there,
: Is there a way to have php automatically save a file that is being
: downloaded without having the annoying "Save As.." dialog box that
: appears? I would like to be able to create a txt file on the server and
: automatically have it save in a user's specified folder.
: -Jay
: (patel at cs dot utk dot edu)

Of course not. Otherwise every hacker/spammer/virus-producer would have
destroyed all our computers years ago.

You can suggest a name for a download file. You can send a zip file and
then unzipping it can save and restore paths (and sets of files), or
provide an install program that the user can run that does anything you
want (if they choose to run it). In a closed environment (i.e. the local
LAN in an office) you could use a plug-in that the users would have to
install that could allow this sort of thing (I have read of them but have
no names to suggest).

--

This space not for rent.
Aug 11 '05 #3
Jay wrote:
Hey there,
Is there a way to have php automatically save a file that is being
downloaded without having the annoying "Save As.." dialog box that
appears? I would like to be able to create a txt file on the server
and automatically have it save in a user's specified folder.

Why? People tend not to like that sort of thing.


Brian
Aug 11 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: john | last post by:
All, I am writing a small application that allows users to create a new HTML file automatically, by entering just a few elements (page title, body text, etc). I can create the new page and...
1
by: Tommy | last post by:
Is it possible to write asp file which create some text file and then save in local drive automatically without human interaction? I haven't any idea. Thx.
3
by: cathywigzell | last post by:
I have a web page which allows a user to download a file directly to their computer, using IE. I present a file name in a table and the user can then right click on the file name to get a popup...
5
by: Carl | last post by:
Please can anyone tell me how I can create a macro to save the results of a query as an excel file? The query is called Student List and I would like to save it to "My Documents". We have had...
4
by: Richard | last post by:
Hi I'm new to ASP/Web programming so any help would be appreciated... Situation: On my web page I would like to present a link {or button} that would allow the user to download a large file. ...
6
by: jake | last post by:
How do you get or save a file from/to a client (button on web page) once they are authenticated? The client could be Mac, Linux or Windows. Can I do it all with IIS and ASP.NET?
4
by: sunilj20 | last post by:
Hello, I have a requirement wherein, a user clicks on a file name in an ASP.NET web application, and the file should automatically be downloaded (Without showing the "Open", "Save As") in the...
4
by: Matt | last post by:
Hi, I would like to save a file locally (on the client computer) in an ASP.net application. It is like the server would return some data that the user can save to a file on his local PC. The ASP...
0
by: blackjackkiller | last post by:
Hi Need help in automating the report.Let me give the explanation what i need that might help u in understanding it. 1 need excel macro to run a query to pull data from sql server for specific...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.