File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes PERL CGI QUESTION Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "PERL CGI QUESTION" Watch "PERL CGI QUESTION" New topic
Author

PERL CGI QUESTION

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 819
Hey Bear or anyone else,
The application I have is written in Perl and is a cgi application. Can I still accomplish this task even though I'm not using the same procedures (i.e. server setup) as I would when developing JSPs? Before checking out the JSP site I'd like to know if I still can or not. Right now HTML and Javascript are the closest things I'm using since there is no forum for Perl. Thanks for the response(s) by the way.
Rob
[edited title so someone can have a clue.....]
[ February 17, 2004: Message edited by: Eric Pascarello ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I am not sure what you are asking exactly.......
I have coded some perl in the past so I know a little bit about it.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61221
    
  66

Can I still accomplish this task

Which task are you asking about?
And like Eric, it's been years since I've done any CGI coding. Ahhhh... not-so-fond memories of Perl: The Write-Only Language.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 819
Bear and Eric,
Sorry about that. This is a continuation of the "How can you..." posting. In haste, I guess I clicked the "Post New Topic" instead of Reply. Basically, what I'm asking is in reference to uploading files to a site from the client machine. The application I'm running is written in Perl and not JSP so hence the reasoning why I posted here because it was the closest forum that seemed to fit. The overall task I'm trying to accomplish is to have a Customer Service page whereby a customer can ask questions or add comments regarding our products and allow them to upload screen shots, extract files created from our existing software, etc.., and that file(s) could then be later downloaded by other interested customers (if we desire to do it that way) or by the same customer. If you could give me any response that could help in accomplishing this it would be much appreciated. Thanks again.
Rob
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Okay, I am still lost basically are you asking this?
Can you upload files with Perl? Yes
How do I do it?
This page has scripts here to do it: http://cgi.resourceindex.com/Programs_and_Scripts/Perl/File_Management/File_Uploading/ and you have to make sure that the folder has the write permissions set on the server.
Can the files be downloaded?
Yes they can, but you need to figure out a way to keep track on the file and the person that uploaded it so you can have a connection between the 2.
Did I answer what you wanted to know???
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PERL CGI QUESTION