The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to register at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Software Development Kit (SDK) and API Discussions

Python file-read-file: Help to convert output from HEX to ASCII

Ose

Hi, I'm using Python api file-read-file to reade the /etc/messages but I'm getting the following error:

 

<results errno="14006" reason="Can't read more than 1MB at a time on file" status="failed"></results>

 

 

UPDATE:

 

I found out that the file-read-file API give the outcome data as HEX. Is there anyway to get the results in ASCII when using sprintf()? Is there any other way to print the results in ASCII instead of HEX?

 

Thank you, 

 

O

0 REPLIES 0
Announcements
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
Public