Skip to content

Attempting to Downlink Zero-Length File Results in Poor Warning #2756

@Joshua-Anderson

Description

@Joshua-Anderson
F´ Version v3.4.3
Affected Component FileDownlink

Problem Description

Attempting to downlink a zero length file using FileDownlink results in the following warning

fileDownlink.DownlinkPartialFail WARNING_HI Error occurred during partial downlink of file badfile to file badfile. Offset 0 greater than or equal to source filesize 0.

How to Reproduce

Send fileDownlink.SendFile, "badfile", "badfile", where badfile is zero length

Expected Behavior

Send a specific warning EVR instead of telling a user they had an incorrect file partial command.

I would propose

fileDownlink.DownlinkEmptyFile WARNING_HI Cannot downlink empty file %s.

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions