2019-09-05, 08:38
Hello
currently i am trying to get data from an ftp server via an addon:
i want to get ALL files that are on the server so i am loop through all directories and storing the files, this works fine but not every times..
these errors occur sometimes:
- Kodi "Freeze" and i need to Kill the Apllication manually
- If there is no freeze than is in the log an timeout(28) notice.
this happens mostly for the first xbmcvfs.listdir Call
.. but why ? the authentication is working and with an normal ftp client i can connect in under 1 second and this never fails
best regards
currently i am trying to get data from an ftp server via an addon:
where user and password is the authentication for the ftp serverpython:dirs, files = xbmcvfs.listdir("ftp://[user[:password]@]host[:port]/")
i want to get ALL files that are on the server so i am loop through all directories and storing the files, this works fine but not every times..
these errors occur sometimes:
- Kodi "Freeze" and i need to Kill the Apllication manually
- If there is no freeze than is in the log an timeout(28) notice.
this happens mostly for the first xbmcvfs.listdir Call
.. but why ? the authentication is working and with an normal ftp client i can connect in under 1 second and this never fails
best regards