Skip to content

Correct execution of Delete file group http command #872

@ypcyc

Description

@ypcyc

Also 2019 MAX is not supported by OpenGoPro still uses most http commands described here.

I need to delete specific folder (with images) on GoPro, but as I found out I need to do it by also providing the name of 1st image in file group:
https://gopro.github.io/OpenGoPro/http#tag/Media/operation/GPCAMERA_DELETE_FILE_GROUP

When sending this command deletion starts... If I have few files everything works fine and http response with code 200 is returned, but if I need to delete folder with all 999 images the is a timeout or something, sometimes error returns sometimes it's real timeout.

I was trying to set timeouts, read again folder with "new" 1st image in file group as after deletion stating the 1st image in file group is changing.
Then executing deletion again with "new" 1st image in file group. Then continuously doing this again until folder is really gone.
But in most cases GoPro turns some "protection" for incoming commands and is blocking them or it just hangs or something.

So, after all this description can somebody, please describe what would be the best approach to delete the folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds to be reviewed and assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions