How can I curl add directory include all files in it


I got a problem when I tried to curl add directory to infura, there are 5 files in the folder.
I read infura document but was still confused (

curl “” -u “myProjectId:myProjectSecretKey” -X POST -F file=@myFolder/

I tried to replace “myFolder” using “myFolder/1.jpg”, I will get one hash for a file and another hash for the directory so how about my other files in the folder? Do I have to add all of them one by one?


Hi there, @porche120 Welcome to the community.
Here’s the updated documentation that should provide some better insights.