Voice et bot modif

This commit is contained in:
pi 2026-06-16 17:09:34 +00:00
parent 189d56026b
commit 7333a22bcd
10774 changed files with 634644 additions and 933308 deletions

View file

@ -135,8 +135,8 @@ class SFTPFileSystem(AbstractFileSystem):
paths = [stat["name"] for stat in stats]
return sorted(paths)
def put(self, lpath, rpath, callback=None, **kwargs):
rpath = self._strip_protocol(rpath)
def put_file(self, lpath, rpath, callback=None, **kwargs):
self.mkdirs(self._parent(os.fspath(rpath)), exist_ok=True)
logger.debug("Put file %s into %s", lpath, rpath)
self.ftp.put(lpath, rpath)