IPFS Wrapping files with the wrap-with-directory

Hey guys, having trouble accessing the files with a directory i pinned. believe i am using the wrong inputs:

curl -X POST -F file=@myfile \
-u "PROJECT_ID:PROJECT_SECRET" \
"https://ipfs.infura.io:5001/api/v0/add"

File is getting pinned to IPFS but the files within are not, where am i going wrong? cheers guys. Pretty new to all this

Hi @Vinu, and welcome to the Infura community!

You’re using the “add” endpoint - if you are wanting to access/download the file, you’ll want to use “get