Connecting Tech Pros Worldwide Forums | Help | Site Map

FTP & Unzip Advice

Simple Simon
Guest
 
Posts: n/a
#1: Nov 17 '05
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

Kevin Spencer
Guest
 
Posts: n/a
#2: Nov 17 '05

re: FTP & Unzip Advice


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" <reply@newsgroup.only> wrote in message
news:0mhskvgkvteccl4cidce18sov4qserta60@4ax.com...[color=blue]
> 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[/color]


Sherif ElMetainy
Guest
 
Posts: n/a
#3: Nov 17 '05

re: FTP & Unzip Advice


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" <reply@newsgroup.only> wrote in message
news:0mhskvgkvteccl4cidce18sov4qserta60@4ax.com...[color=blue]
> 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[/color]


Simple Simon
Guest
 
Posts: n/a
#4: Nov 17 '05

re: FTP & Unzip Advice


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\)"
<timneyj@despammed.com> wrote:
[color=blue]
>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.[/color]

John Timney \(Microsoft MVP\)
Guest
 
Posts: n/a
#5: Nov 17 '05

re: FTP & Unzip Advice


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" <reply@newsgroup.only> wrote in message
news:t02vkv0hjhi93aflrvasftarm9i8op50a1@4ax.com...[color=blue]
> 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\)"
> <timneyj@despammed.com> wrote:
>[color=green]
> >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[/color][/color]
the[color=blue][color=green]
> >unzip "out of process", thus causing no problems to the IIS server[/color][/color]
entering[color=blue][color=green]
> >a deadlocked state, and you get a record of when and where things[/color][/color]
happened.[color=blue]
>[/color]


Simple Simon
Guest
 
Posts: n/a
#6: Nov 17 '05

re: FTP & Unzip Advice


I'll give it a try...thxs John ;)

On Fri, 29 Aug 2003 18:27:15 +0100, "John Timney \(Microsoft MVP\)"
<timneyj@despammed.com> wrote:
[color=blue]
>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.[/color]

Closed Thread