473,320 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 FileOutputStream it gives following error:

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

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

Can someone help me?
Sep 26 '07 #1
1 1033
Shashi Sadasivan
1,435 Expert 1GB
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 FileOutputStream it gives following error:

An unhandled exception of type 'System.NotSupportedException' 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
Sep 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Arthur | last post by:
Does anyone know if the new Windows 2003 built-in .zip compressor/decompressor is available to scripting? If so, can you kindly point me in the right direction? I've searched and searched MSDN...
2
by: Beau | last post by:
Is there a native 'zipping' or compression compoonent in windows accessable via ASP? Or do you have to buy a compoonent?
9
by: ReidarT | last post by:
How can I zip (compress) a file in vs2005 with windows own zip-program? reidarT
4
by: rcoco | last post by:
I've Zipped the file and tried to send it but I made a mistake wrote a wrong server address and now I want to rename. When I try to zip I get the outlook express with the zip file attached to it....
1
by: durumdara | last post by:
Hi! As I experienced in the year 2006, the Python's zip module is not unicode-safe. With the hungarian filenames I got wrong result. I need to convert iso-8859-2 to cp852 chset to get good...
1
by: jschmidt | last post by:
I am wondering if there is a way to zip a (one) file using a batch script. I have an access database that needs to be zipped on a regular basis because many people download this file from a website. ...
6
by: aru123 | last post by:
i have created an application to zip a folder and file. Now i want to create an apllication to zip a file and folder with password protection. plz any one can give me code or sample application or...
3
by: dp_pearce | last post by:
Hi all, I have come across an error while using zipfile and I can't seem to find somewhere that explains the problem. My script needs to be able to take text files from one drive and add them to...
1
Manikgisl
by: Manikgisl | last post by:
hi i need zip a folder and unzip folder in C#.net to transfer local to server and vice versa pls help me thanks in advance
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.