Download a binary file located at a URL on the network. Can also use the plain download_file to accomplish :param url: The address of the file :type url: str :return: The file contents. Returns None if an error happened :rtype: None | bytes
(url)
| 23508 | |
| 23509 | |
| 23510 | def net_download_file_binary(url): |
| 23511 | """ |
| 23512 | Download a binary file located at a URL on the network. Can also use the plain download_file to accomplish |
| 23513 | :param url: The address of the file |
| 23514 | :type url: str |
| 23515 | :return: The file contents. Returns None if an error happened |
| 23516 | :rtype: None | bytes |
| 23517 | """ |
| 23518 | data = net_download_file(url, encoding='') |
| 23519 | |
| 23520 | return data |
| 23521 | |
| 23522 | |
| 23523 |
nothing calls this directly
no test coverage detected