Results 1 to 5 of 5
  1. #1
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,463
    I'm looking the LinkShare merchandiser program...

    The data feeds are provided as compressed .gz files - and I'm aiming to use them on a (hosted) windows server.

    Anyone got any ideas how I could unzip those files on the server? As I understand it, there's no direct equivalent of the unix commands I'd use to do this.

    Ideally, I'd like to do it from the same perl script that ftps the files across - but I haven't been able to find anything to do it (partly because searches about gz files throw up thousands of results about installing perl and modules of course).

    Fingers crossed ...

    Stewart Hutton | Are you Crazy?

  2. #2
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,463
    Always nice to answer your own questions.

    The answer lies in the use of Archive::Tar in case anyone else is interested.

    Stewart Hutton | Are you Crazy?

  3. #3
    Eternal Optimist Look4's Avatar
    Join Date
    January 18th, 2005
    Location
    Home base: Pennsylvania
    Posts
    438
    Can you elaborate?

    I've been looking for a way to unzip files on my Win2K host and haven't found any tools.

    Where is the Archive::Tar tool - is it a VB/ASP command?

  4. #4
    "An Englishman In New York" TJ's Avatar
    Join Date
    January 18th, 2005
    Posts
    3,282
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>The data feeds are provided as compressed .gz files - and I'm aiming to use them on a (hosted) windows server.<HR></BLOCKQUOTE>

    Winzip can open .gz files [img]/infopop/emoticons/icon_smile.gif[/img]

  5. #5
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,463
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Look4:
    Can you elaborate?
    <HR></BLOCKQUOTE>

    Yes I can ...

    It doesn't work. [img]/infopop/emoticons/icon_mad.gif[/img]

    Or at least that's what my win host told me after I removed all my hair one tuft at a time over the corrupted output I kept getting.

    The solution was simple - I moved the whole shebang (no perl pun intended) to a *nix host and a single system call does it instantly.
    Win hosts still seem to insist that they have a better programming platform but the inability to work with a standard file format or schedule the program running are 2 major obstacles to me.

    I'm sorry I didn't update the info above - I was involved in discussions on the subject in various places at the time and thought I'd caught them.

    Are you Crazy?

  6. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: May 21st, 2009, 05:14 AM
  2. HELP! Can't upload any files to my server!
    By Ron Bechdolt in forum Midnight Cafe'
    Replies: 6
    Last Post: December 30th, 2003, 06:46 PM
  3. Can I delete the huge log files on my server?
    By new yorker in forum Midnight Cafe'
    Replies: 18
    Last Post: September 3rd, 2003, 10:53 AM
  4. Server Side Include Files
    By frankodelic in forum Search Engine Optimization
    Replies: 6
    Last Post: February 14th, 2003, 12:49 AM
  5. Problems with .cgi vs .pl files on server
    By c4 in forum Domains & Hosting
    Replies: 2
    Last Post: November 8th, 2002, 11:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •