Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

downloading a folder

0 votes
asked May 31, 2023 by לויט יהודה רובי (500 points)
Is there a short way to download a folder?

I want to download a folder with about 40 files. Is there a way of doing it in stacks instead of one by one?

1 Answer

0 votes
answered Jun 1, 2023 by Peter Minarik (89,130 points)
Sorry, how does your question relate to Online GDB? Is this folder with 40 files you speak of located in Online GDB? When you want to download your projects from Online GDB, it zips the files up for you, so you're only really dealing with a single zip file, not 40 individual files.

If you want to write a piece code that needs to download multiple files, you can just write a loop that gets all the files needed.

Please, provide more details as your question is not clear.
commented Jun 1, 2023 by לויט יהודה רובי (500 points)
A single GDB file has a download option, but files don't.

I mean that projects have the options [rename, move, delete, download, share/ embed project, fork project] while folders have only [rename, move, delete,  share project]. It doesn't have the option of download.
commented Jun 2, 2023 by Peter Minarik (89,130 points)
Okay. So we're talking about the "My Project" page.

Yes, there's an option to create a folder and you cannot download folders -- as far as I can tell.

But you do not put files, but projects into folders. Regardless, if you have a folder with 40 projects in it, apparently you cannot download all those projects in the folder together, only one-by-one. :(
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.