mirror of
https://github.com/9001/copyparty.git
synced 2026-03-16 21:23:42 +10:00
ftp: support filezilla mkdir
This commit is contained in:
@@ -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("/")
|
||||
|
||||
Reference in New Issue
Block a user