Open offle opened 1 month ago
I don't know what could cause this, but there's certainly no such limit in Citadel.
Let me know if you run into any ideas on your end
Hi, I didn’t find a solution to this. But I think if there’s no such limit in Citadel, the issue can be closed. I will let you know if I will find anything what’s causing this :)
Thank you :) Even if it's not Citadel I'd love to hear the reason you might find.
I'll keep it open for my own recordkeeping
Hi, short update. I couldn't firgure out the reason for this behavior. I know it's really dirty, but I helped myself with parsing the stdout of an 'ls' command.
`
let stdout = try await client.executeCommand("ls \(directory)")
let lsOut = utils.byteBufferToString(byteBuffer: stdout) ?? ""
let files = lsOut.split(separator: "\n")
let sftp = try await client.openSFTP()
for file in files {
if (file == "." || file == "..") {
continue
}
debugPrint(file.filename)
...
}
`
If anyone else runs into this issue as well, or has any ideas about this - please do reach out
Hi, the listDirectory method returns only 100 files.
I've tested it with MacOS Sonoma 14.6.1 and iPhone 15 Pro Simulator in XCode. As server I used the Hostmachine (Sonomo 14.6.1) and a Debian 10 system with the same behaviour.
Sorry, maybe it's not a bug but I can't find any option to override this limit.
Thanks :)