#Creating ZIP file which is not openning afterwards?

1 messages · Page 1 of 1 (latest)

tawny gazelle
#

.

past iceBOT
#

<@&987246399047479336> please have a look, thanks.

past iceBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

tawny gazelle
#

I was given the following code :

#

and it creates my ZIP file, but when I try to open it, Windows say it can't

#

is there a reason for this?

#

it says the compressed file is not valid as an error

rapid citrus
#

You're writing a zip output stream to an ObjectOutputStream, which doesn't write a valid zip file

tawny gazelle
#

i didnt write any of that code

tawny gazelle
rapid citrus
#

What's the file which you're trying to open as a zip file

#

And which code creates that file

tawny gazelle
#

oh, is it possible that it's not working because I did not close my stuff? I think I did not put the whole thing

#

@rapid citrus Yes, that was it

#

if you don't close your stream, it seems like it does not work

#

it started working

#

.close

past iceBOT
# tawny gazelle .close

Looks like you attempted to use a command? Please note that we only use slash-commands on this server 🙂

Try starting your message with a forward-slash / and Discord should open a popup showing you all available commands.
A command might then look like /foo 👍

#

Closed the thread.

rapid citrus
#

Ah lol