2009-03-05, 15:14
I've started to use more httpai calls inplace of SMB calls (seems more reliable and get around a 32 file list_path that smbLib.py has) but I've noticed that FileCopy() report an error and then response OK
(obviously the paths above have been amended for the purpose of showing an example)
It might just be that the FileCopy() is attempting to delete the "copy-to" local file before the copy? unnecessary msg or something else going on ?
Second question:
the GetDirectory() accepts a mask of "*" or eg. ".mp3" but it doesn't seem to work with any other file masks. eg "somename*2090304.dat" Is that not supported (it would be really handy) or a bug ?
cheers
BBB
Code:
DEBUG: xbmcHttpShim starts
DEBUG: HttpApi Start command: FileCopy paras: FileCopy; smb://destpath//myfile.conf;C:\localpath\myfile.conf
ERROR: XFILE::CFile::Delete - Error deleting file C:\localpath\myfile.conf
NOTICE: httpapi response=<li>OK
(obviously the paths above have been amended for the purpose of showing an example)
It might just be that the FileCopy() is attempting to delete the "copy-to" local file before the copy? unnecessary msg or something else going on ?
Second question:
the GetDirectory() accepts a mask of "*" or eg. ".mp3" but it doesn't seem to work with any other file masks. eg "somename*2090304.dat" Is that not supported (it would be really handy) or a bug ?
cheers
BBB