Skip to content

AsyncFtpClient: DisposeAsync() method issue #1783

@vladmamai

Description

@vladmamai

When I try to use this construction

await using var ftpClient = await CreateFtpClientAsync();

I receive this error: 'Method not found: 'System.Threading.Tasks.Task FluentFTP.AsyncFtpClient.DisposeAsync()'

To make a workaround, I need to remove 'await' keyword before using the statement to use synchronous Dispose instead of DisposeAsync().
Can you please look at this issue?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions