[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

upload text/binary file

Posted on 1998-10-30
11
Medium Priority
?
205 Views
Last Modified: 2013-12-25
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
Comment
Question by:hdo120497
  • 3
  • 3
  • 2
  • +3
11 Comments
 

Author Comment

by:hdo120497
ID: 1829364
Edited text of question
0
 

Author Comment

by:hdo120497
ID: 1829365
Edited text of question
0
 
LVL 28

Expert Comment

by:sybe
ID: 1829366
0
Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

 
LVL 1

Expert Comment

by:borup
ID: 1829367
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
 
LVL 1

Expert Comment

by:borup
ID: 1829368
BTW: It will need some adjustments to make what you want.
0
 
LVL 28

Expert Comment

by:sybe
ID: 1829369
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
 

Expert Comment

by:boney
ID: 1829370
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
 

Author Comment

by:hdo120497
ID: 1829371
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
 
LVL 28

Expert Comment

by:sybe
ID: 1829372
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
 
LVL 19

Expert Comment

by:cheekycj
ID: 1829373
borup...
what solution do you have as a java servlet?  Is it somewhere online?

CJ
0
 

Accepted Solution

by:
aseem072898 earned 200 total points
ID: 1829374
Hi you have many to choose from;

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

Hope this is an answer!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses
Course of the Month18 days, 17 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question