> > I am making the assumption that you intend to collapse the directory > > tree and store each file in the same directory, otherwise I can't think > > of why you need to do this. > > Hi Simon, thanks for the reply. It's not quite this - what I am doing > is creating a zip file with relative path names, and if there are > duplicate files the parts of the path that are not be carried over > need to get prepended to the file names to make then unique,
Depending on the file system of the client, you can hit file name length limits. I would think it would be better to just create the full structure in the zip. Just something to keep in mind, especially if you see funky behavior. Ramit This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. -- http://mail.python.org/mailman/listinfo/python-list