Skip to content

When using WithBody(p => p.FileUpload(filePath)) the file is blocked for deletion #129

@GuilhermeGHN

Description

@GuilhermeGHN

After making a simple request by sending a file, it is blocked for manipulation by another process, for example deleting the file itself.

I believe these methods would need some treatment to avoid this problem:

  • HttpContent FileUpload(string fullPath);
  • HttpContent FileUpload(FileInfo file);
  • HttpContent FileUpload(IEnumerable files);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions