Solved

upload text/binary file

Posted on 1998-10-30
11
190 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Edit Registry Key via Batch File 8 54
AWS CLI - Instances, Volumes & Tagging 2 71
Bulk Reorder File Names 4 53
How does Redux fit into React? 3 66
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
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…

943 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now