473,405 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

FTP & Unzip Advice

Hi all,
I'm trying to think of a relatively painless solution to this problem:

I need to automatically(daily) FTP a .zip file from an FTP location,
to a folder on the web server, AND unzip the contents(pics) to a
sub-folder.

Any one have any brilliant and genius ideas?

~Gordon
Nov 17 '05 #1
5 1564
There are several commercial .Net Zip components available. I have used
DynaZip from www.innernedia.com with good results. I believe XCeed makes one
as well. Of course you could always Google for one.
--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
The more I learn, the less I know.
"Simple Simon" <re***@newsgroup.only> wrote in message
news:0m********************************@4ax.com...
Hi all,
I'm trying to think of a relatively painless solution to this problem:

I need to automatically(daily) FTP a .zip file from an FTP location,
to a folder on the web server, AND unzip the contents(pics) to a
sub-folder.

Any one have any brilliant and genius ideas?

~Gordon

Nov 17 '05 #2
Hello

There is also a open source free and very good compression/decompression
library
http://www.icsharpcode.net/OpenSource/SharpZipLib/

I think but I am not sure, that its license allows you to use it in closed
source programs.

Best Regards

Sherif

"Simple Simon" <re***@newsgroup.only> wrote in message
news:0m********************************@4ax.com...
Hi all,
I'm trying to think of a relatively painless solution to this problem:

I need to automatically(daily) FTP a .zip file from an FTP location,
to a folder on the web server, AND unzip the contents(pics) to a
sub-folder.

Any one have any brilliant and genius ideas?

~Gordon

Nov 17 '05 #3
Don't suppose you have an example of your briliant work :) ?

Thanks for your reply,
~Gordon

On Thu, 28 Aug 2003 22:17:38 +0100, "John Timney \(Microsoft MVP\)"
<ti*****@despammed.com> wrote:
To add to Kevins comments - if you use FTP then you will need to put a
filewatcher in place.

I have a solution that uses HTTP Upload then puts the file ref to be
unzipped in a DB queue. A windows service polls the queue and processes the
unzip "out of process", thus causing no problems to the IIS server entering
a deadlocked state, and you get a record of when and where things happened.


Nov 17 '05 #4
afraid I dont - its company property not mine and I cant give out the
source.

Its not hard to do though - httpupload is easy with .NET, adding to a db is
easy, it only needs to be Access. The windows service is really quite
straightforward to write - the SDK has almost conplete examples for this -
adding a ZIP library to the examples is really easy. All in all it doesn't
really do that much so you should be able to knock it up really easily.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"Simple Simon" <re***@newsgroup.only> wrote in message
news:t0********************************@4ax.com...
Don't suppose you have an example of your briliant work :) ?

Thanks for your reply,
~Gordon

On Thu, 28 Aug 2003 22:17:38 +0100, "John Timney \(Microsoft MVP\)"
<ti*****@despammed.com> wrote:
To add to Kevins comments - if you use FTP then you will need to put a
filewatcher in place.

I have a solution that uses HTTP Upload then puts the file ref to be
unzipped in a DB queue. A windows service polls the queue and processes theunzip "out of process", thus causing no problems to the IIS server enteringa deadlocked state, and you get a record of when and where things
happened.

Nov 17 '05 #5
I'll give it a try...thxs John ;)

On Fri, 29 Aug 2003 18:27:15 +0100, "John Timney \(Microsoft MVP\)"
<ti*****@despammed.com> wrote:
afraid I dont - its company property not mine and I cant give out the
source.

Its not hard to do though - httpupload is easy with .NET, adding to a db is
easy, it only needs to be Access. The windows service is really quite
straightforward to write - the SDK has almost conplete examples for this -
adding a ZIP library to the examples is really easy. All in all it doesn't
really do that much so you should be able to knock it up really easily.


Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jeff | last post by:
hi, alls Is there method to support ZIP/UNZIP in VS.NET 2003 Which name space can be used? Is there any smaple? Thanks
2
by: bradley | last post by:
I am developing a website which allows a user to upload documents (MS Word, PDF, etc) to a folder located beneath the website root. This works fine. However, for storage space and security reasons,...
0
by: na | last post by:
Was using Info-Zip dll's in VB6 and am trying convert/upgrade them for use them vb.net 2002. I've attached the code (2 zipped .vb's), which were converted from VB6. If I can get this working,...
1
by: Jean Christophe Avard | last post by:
Hi! Finally I figure out what was wrong... "objZipEntry.size = strmFile" I wasn't giving the right file length... But now, I have issue with the unzip function... I can't unzip it, the unzip function...
4
by: DataSmash | last post by:
I need to unzip all zip file(s) in the current directory into their own subdirectories. The zip file name(s) always start with the string "usa" and end with ".zip". The code below will make the...
3
by: DaveO | last post by:
My apologies for individually posting this to multiple newsgroups - my ISP won't allow multiple posts. I'm not a C programmer, so I'm looking for someone to modify some UnZip code for a...
0
by: Rocky Zhou | last post by:
python unzip At first, I tried to use 'os.popen3("unzip ...") like this: fin, fout, ferr = os.popen3("unzip -o -d %s %s" % (dest, zipfile)) strerr = ferr.read() # This makes the program hanging...
4
by: =?Utf-8?B?bWF2cmlja18xMDE=?= | last post by:
Hi, Is there a free component for zipping and unzipping files using c# in ASP.net? Thnx
2
by: somsub | last post by:
Hi all, Here is my samle code use strict ; use warnings ; use IO::Uncompress::Unzip ; When I compiled this three lines of code in win32 I got error like below.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.