Error while Zipping A folder.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ruchi garg
    New Member
    • Sep 2007
    • 1

    #1

    Error while Zipping A folder.

    Hi All,

    I am trying to zip a folder in .NET using J#.
    I want name of the output file in specific Date Format. But when I am passing the string containing date to FileOutputStrea m it gives following error:

    An unhandled exception of type 'System.NotSupp ortedException' occurred in mscorlib.dll

    Additional information: The given path's format is not supported.

    Can someone help me?
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    Originally posted by ruchi garg
    Hi All,

    I am trying to zip a folder in .NET using J#.
    I want name of the output file in specific Date Format. But when I am passing the string containing date to FileOutputStrea m it gives following error:

    An unhandled exception of type 'System.NotSupp ortedException' occurred in mscorlib.dll

    Additional information: The given path's format is not supported.

    Can someone help me?
    Could you give an example of the file name you want to assign it and the actual value(from debugging) that is being sent

    And an example path to which it is writeing too (from debug mode) will help a lot.

    cheers

    Comment

    Working...