Software Development Kit (SDK) and API Discussions

file-write-file / file-read-file size clarifications


Though the documentation for I/O size in file-write-file and file-read-file are technically correct, they could really use some clarification.

Quoting from the 4.1 SDK, file-write-file states that "API will fail if data exceeds 1 MB" and file-read-file says "API will fail if length exceeds 1 MB". Until recognizing the subtle difference between these two (or observing empirically), they appear to each allow 1MB I/O sizes, though due to the double-byte encoding of the data element, the actual sizes are 512kb for writes and 1024kb for reads. It'd be good to make this distinction more apparent in the documentation.



Hi Kevin

Hope you are doing well. Thanks for pointing out about the clarification, we will fix this in a future release



Hi Kevin,

Thanks for the feedback. I have forwarded your comment to the appropriate team and will have give you an update as soon as I hear back.



NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner