Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET CopyFilesTo error: The relative name is empty or contains only whitespace

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20414 |

    I am getting an exception trying to write out a zip file that was created by a webservice using the java.util.zip package.   The zip file is quite simple and consists of a text file and a folder containing some images (gifs).   The file can be opened in WinZip w/o problems.  But when persisted using exceed on the client, the following error occurs.

    I’m trying to determine which object the error is referring to.  And, actually, no object in the zip has spaces in it’s name.    

     Thanks for any help!

    Exception Details:

    —————————————-

    Exception type: 
    System.ArgumentException

    Message:        
    The relative name is empty or contains only whitespace.

    Parameter name: relativeName

    Source:         
    Xceed.FileSystem

    Target
    Site:     CopyFilesTo

     

    Stack Trace:

       at
    Xceed.FileSystem.AbstractFolder.CopyFilesTo(FileSystemEvents events, Object
    userData, AbstractFolder destinationFolder, Boolean recursive, Boolean
    replaceExistingFiles, Object[] filters)

       at
    Xceed.FileSystem.AbstractFolder.CopyFilesTo(AbstractFolder destinationFolder,
    Boolean recursive, Boolean replaceExistingFiles, Object[] filters)

       at
    SAS.Report.Models.XML.XML.ExtractZipFile(String filename) in
    c:\dev\5.1\winclient\Report\Source\models\xml\XML.cs:line 413

       

    Imported from legacy forums. Posted by James (had 1518 views)

    Xceed Support
    Member
    Post count: 5658

    Hi James,

    Are you able to send me the zip file that was created. If it does contain confidential information, are you able to produce another zip file that would throw this error. I will use it to test on a sample I have here and see if I am able to reproduce it. If you are doing anything different or special in your code, please advise me of it. You can send the zip file to support@xceed.com and I will investigate this matter for you. Please make a reference to this forum post so that I know that it is you.

    Imported from legacy forums. Posted by Marc [Xceed] (had 957 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.