Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unable to retrieve part of an object through CloudFilesProvider.GetObject #628

Copy link
Copy link
@harshanandmv

Description

@harshanandmv
Issue body actions

I am able to get the entire file using CloudFilesProvider.GetObject. But not able to pass in a range to retrieve part of that object. Its supported by Swift, but the SDK doesnt support it.

System.IO.Stream stream = new System.IO.MemoryStream(110);
Dictionary<string, string> headers = new Dictionary<string,string>();

headers["Range"] = string.Format("bytes={0}-{1}", 0, 99);

cloudFilesProvider.GetObject("images", "test.jpg", stream, 4096, headers, region, false, null, false, null);

I get a System.ArgumentException with "The 'Range' header must be modified using the appropriate property or method."

Can someone help?

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.