Menu

#7 Under XP, full paths are retained...

open
5
2003-08-22
2003-08-22
No

Under XP, I'm trying to create a xip file, using the
PCLZIP_OPT_REMOVE_PATH option.

When I try to extract it, the full path (from c:) is in zip file
and I cannot be restored fine.

Under MacOS X and linuz it seems to work fine !!

I've attached an zip file generated under XP (not working)
and a zip file generated under MacOS X.

Ciao, Eloy.

Discussion

  • Eloy Lafuente

    Eloy Lafuente - 2003-08-22

    Generated with XP

     
  • Eloy Lafuente

    Eloy Lafuente - 2003-08-22

    Generated with MacOS X

     
  • flobee

    flobee - 2003-12-03

    Logged In: YES
    user_id=196616

    hmmm
    $zipfiles = $myzip->add("path11/path22/file.txt",
    PCLZIP_OPT_ADD_PATH, "newfolder",
    PCLZIP_OPT_REMOVE_PATH, "path11/");

    makes: newfolder/path22/...

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.