Ask a Question related to PERL Beginners, Design and Development.
-
Timothy Driscoll #1
where should perl create a file for user download?
greetings,
I am writing a small perl script that takes user input via a Web form, writes
a few files to my server, creates a zip archive that includes those files,
and offers the user a link to download the zip file. I am running perl 5.8
on OS XS 10.3.
can anyone offer some expert advice concerning where on my server to put the
newly created zip? in my cgi script dir? somehow, this troubles me from a
security perspective (plus the fact that all of my user-accessible documents
exist on a separate Volume from my core server apps). is there a better way?
thanks!
(a perl newbie trying to start off on the right foot.)
:tim
--
timothy driscoll
molvisions - molecular graphics & visualization
<http://www.molvisions.com/>
usa:north carolina:wake forest
Timothy Driscoll Guest
-
New Perl User needs help with POST in perl
I have written my HTML code to where it uses POST to collect information. Where do I start to write a script that collects the data from the web... -
Download a file in Perl
I have each month to download all the logfiles from my web server as GZ compressed files. From each domain access and referer log files. The... -
Download Beginning Perl ebook
Motherofperls@aol.com writes: You're perfectly entitled to do this under the terms of the Creative Commons Attribution-NoDerivs-NonCommercial... -
How to let user download a file
Hi, I am using .Net to develop an application that let the user download the file, is there any easy way to transfer the file to client? ... -
Create a file and send to user
I need to create a data file from my PHP for the user to load into their word processor as a mail merge data source. Organising the data into rows... -
Ramprasad A Padmanabhan #2
Re: where should perl create a file for user download?
Timothy Driscoll wrote:
The simplest way :-> greetings,
>
> I am writing a small perl script that takes user input via a Web form, writes
> a few files to my server, creates a zip archive that includes those files,
> and offers the user a link to download the zip file. I am running perl 5.8
> on OS XS 10.3.
>
> can anyone offer some expert advice concerning where on my server to put the
> newly created zip? in my cgi script dir? somehow, this troubles me from a
> security perspective (plus the fact that all of my user-accessible documents
> exist on a separate Volume from my core server apps). is there a better way?
>
>
> thanks!
>
> (a perl newbie trying to start off on the right foot.)
>
>
> :tim
>
Create a directory under your document root and store the files and
give links to those files as plain href. thats it
Optionally ,You can also try doing some fancy stuff like changing
content type of your script and printing the zip file
Bye
Ram
Ramprasad A Padmanabhan Guest



Reply With Quote

