this post was submitted on 26 Mar 2026
4 points (83.3% liked)

No Stupid Questions

4004 readers
12 users here now

There is no such thing as a Stupid Question!

Don't be embarrassed of your curiosity; everyone has questions that they may feel uncomfortable asking certain people, so this place gives you a nice area not to be judged about asking it. Everyone here is willing to help.


Reminder that the rules for lemmy.ca still apply!


Thanks for reading all of this, even if you didn't read all of this, and your eye started somewhere else, have a watermelon slice ๐Ÿ‰.


founded 3 years ago
MODERATORS
 

I need to send many documents and i have everything neatly in a folder directory structure that I would prefer stays intact but thr system wont accept zips

Can I rename the extension something I know is accepted and they can just change it back to zip? Its gonna take forever to do it the normal way by having to upload each individual document also without the folder structure context it will be a big mess

you are viewing a single comment's thread
view the rest of the comments
[โ€“] neidu3@sh.itjust.works 7 points 2 days ago* (last edited 2 days ago) (1 children)

Should work, yes. A filename is independent of the file contents, and this includes the extension. You can rename it back and forth as much as you like.

Caveats, presuming you'resending via mail:

  • There could be a size limitation for attachments
  • There could be some sort of content scanning/verification at play

Alternatively, upload the file somewhere and send a link instead

[โ€“] cheese_greater@lemmy.world 2 points 2 days ago (2 children)

I just tried duplicating and renaming it then renaming it back and it seems to work, locally at least

[โ€“] paraplu@piefed.social 5 points 2 days ago

Yes the file extension isn't part of the file itself. Changing the name isn't destructive.

It's mostly a hint to the operating system of what programs can interact with it, and sometimes to the programs how they should try to interact with it. Depending on the structure of the underlying file, a program may know what to do, or it might freak out, until you give it a reasonable extension.

[โ€“] hesh@quokk.au 3 points 2 days ago

Renaming the extension back and forth should work fine. If the system you're using just checks filename extensions that should solve your problem. However, it's also likely that such a system would also check the file type (aka MIME type) by scanning the file contents, which just renaming the file would not fool, since it will still recognize it as a zip.