Closed phardy closed 6 years ago
sigh Realised not long after posting this issue that my Home Assistant install was a little old.
I've updated from 0.58.1 to 0.59.1 and re-run my tests. An FTP:// URL is still failing while HTTP and HTTPS succeed. Updated the original report.
Support for FTP is not implemented in the downloader
component.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍
Home Assistant release (
hass --version
): 0.59.1Python release (
python3 --version
): Python 3.5.3Component/platform: downloader
Description of problem: I'm trying to download weather forecast data that is only available via anonymous FTP. Fetching the URL works in my local browser and using curl on the same machine running Home Assistant. But the downloader is unable to do so. Calling the
download_file
service results in this error in the log:I've tested my download with an HTTPS URL ("https://www.google.com/"), and the content I expect is downloaded
Expected: I expect the file to be output to the configured download location. Instead I get the above error, and no file.
Problem-relevant
configuration.yaml
entries and steps to reproduce:(yes, I've ensured that
$HOME/.homeassistant/downloads/
exists and is writeable, downloading other files results in content in this directory){"url": "ftp://ftp.bom.gov.au/anon/gen/fwo/IDN10064.xml"}
Traceback (if applicable): No traceback is generated that I can see, the log message implies that the exception has been caught and dealt with.
Additional info: