Urgnet Question

G

Guest

Dear:

I have web application that able user to upload files the the ability to zip
them, the problem I have , that there is a choice that makes user extract the
zip file into server but while extraction there are some existing file
overwritten without user notice, what I need while extraction process to
inform user with a dialog if he/she needs to overwrite it or not and then
continue the extraction process.

Is this scenario possible?
 
K

Karl Seguin

i think so.

Check out: http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx

it's a free zipping class for .Net. It'll let you loop through the entries
in a zip file (check the unzip example). From that you can check if a file
already exists. If so, bring up a page that lists the files to be
overwritten, ask the user to proceed and on you go. You'll need to store the
zip file on the disk during this "confirmation" phase, but I don't imagine
that to be a problem.

Karl
 
K

Kevin Spencer

Is this scenario possible?

Of course. You just add a message to the Response. It can be in the page, in
a popup generrated by JavaScript, etc.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top