mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
ftp: support filezilla mkdir
This commit is contained in:
parent
01cfc70982
commit
d00f0b9fa7
|
@ -218,7 +218,7 @@ class FtpFs(AbstractedFS):
|
|||
|
||||
def mkdir(self, path: str) -> None:
|
||||
ap = self.rv2a(path, w=True)[0]
|
||||
bos.mkdir(ap)
|
||||
bos.makedirs(ap) # filezilla expects this
|
||||
|
||||
def listdir(self, path: str) -> list[str]:
|
||||
vpath = join(self.cwd, path).lstrip("/")
|
||||
|
|
Loading…
Reference in a new issue