Skip to content

Downloading multiple objects functions should have support to cancel mid-process #2693

@JWaters02

Description

@JWaters02

Is your feature or enhancement request related to a problem or limitation? Please describe

In ZE, it would be nice if users can cancel their downloads mid-way in case they change their mind about downloading a PDS or USS directory with many members or files. Currently once the request is sent it cannot be stopped with any UI action - only by force closing VSC or by disconnecting for the tinternets.

Describe your enhancement idea

In the download USS dir, download PDS and download all data sets SDK functions, there should be support for the downloads to be cancelled mid-process. This is doable as these functions resolve the inidividual objects and make one request for each, so if a cancellation command is sent we should stop sending requests and return with what we have already downloaded.

Describe alternatives you've considered

In ZE, if the user is trying to download more than 100 members or files, it will bring a popup to warn them that the download may take a lot of time and can cancel before it starts if they made a mistake or don't want to continue.

Otherwise, once they start, they either have to close VS Code or disconnect from the tinternets to stop the requests, or simply perish

Provide any additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority-lowLegit issue but cosmetic or nice-to-have

    Type

    No type

    Projects

    Status

    Low Priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions