Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

upload text/binary file

I'm writting a web application to upload both text and binary file from client machine to server machine using FORM.  The library that I using to do the actual upload is "CGI_Lite.pm" (perl).  Unfortunately, this library does not handle binary file correctly.  Is there any library out there that does the job?

Thanks

--
hdo
0
hdo120497
Asked:
hdo120497
  • 3
  • 3
  • 2
  • +3
1 Solution
 
hdo120497Author Commented:
Edited text of question
0
 
hdo120497Author Commented:
Edited text of question
0
 
sybeCommented:
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
borupCommented:
Are you interested in perl scripts only? I have a solution in Java running as a servlet. If it has any interest leave your e-mail and I'll send it to you.

borup
0
 
borupCommented:
BTW: It will need some adjustments to make what you want.
0
 
sybeCommented:
hdo,
why did you reject my answer ? I use cgi-lib.pl for the purposes you mention without problems. You asked for a library that can do the job, and I gave you one. An explanation why you rejectd my answer seems in place.
0
 
boneyCommented:
Go to http://www.supamall.com/suparealtor/files/ and follow the "Mallbuilder" - see if that is what you want to do then get back to me...
0
 
hdo120497Author Commented:
your site "http://www.supamall.com/suparealtor/files/" doesn't
have anything to do with uploading a binary file.  I'm looking
for a perl library that can upload binary and text file...  The library "cgi-lib.pl" doesn't work for binary file.  

If any one know, please help me with this...

Thanks!

hdo
0
 
sybeCommented:
hdo,

cgi-lib DOES binary file upload. I use it for that. I don't know why you think it does not. I use it for .doc, .pdf, .gif, .jpg files (to name some examples). Please read the documentation on their website again. I have not idea what purposes you have in mind which can't be done by cgi-lib.pl

file-upload is always binary (because you never know what format the file is).


0
 
cheekycjCommented:
borup...
what solution do you have as a java servlet?  Is it somewhere online?

CJ
0
 
aseem072898Commented:
Hi you have many to choose from;

visit
http://scriptsearch.internet.com/pages/l9c3c20.shtml

Hope this is an answer!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now