Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Bubbles68265y@irene but I’d rather not assume the user knows how to zip a folder or wants to go through that process before sending.
Plus it’s one more thing I get to learn how to do in C# 😎 -
@Bubbles There shpuld be a library in C# that lets you Zip the folder and unzip it again.
Challenges include:
- Is the generated Zipfile streakable or do you need to put it in cache somewhere (beware of the size and delete it afterwards)
- Does the chosen Zip library allow to Zip the folder for you or do you need/want to cyxlcle through all files and subfolders (recursive or stackbased) to find all files (beware of symlinks)
- If the user has any say, could modify your software, could create a similar software/client or the ZipFile (e.g. when cached) make sure the received file doesn't contain any path traversals (e.g. .. ) or is a ZIP Bomb (though should be veery rare) -
sak9628195yThe only idea I got from non programming developer is how to use Microsoft product(excel devops ...). The just do click like 3 place and vola things are done. Where as I have to check stack overflow/Google for that.
-
@Bubbles if it's C# you're using, you might wanna look into the System.IO.Compression namespace https://docs.microsoft.com/en-us/...
Related Rants
-
Angry21The first time I realized I wasn't as good as I thought I was when I met the smartest dev I've ever known (to ...
-
Flink9122Professor: "Who here regularly backs up all their data?" *Some people raise their hands* Professor: "Who has a...
-
sagemaker32I was looking for about a month for a laptop. Then on this one magical day I open kijiji and see a Toshiba Thi...
Me: *ranting to my friend who isn’t a dev (but is in IT and a good knowledge of networking) about a problem I came across in my project.
“I don’t know how I’ll send folders”
Him: “just compress it before hand and decompress when it’s sent”
Me: *mind fucked*
Have any of you guys gotten surprisingly good ideas from non programmers?
rant
story