Skip to content

Fix SFTP compatibility with FileZilla#28

Merged
VulcanoSoftware merged 1 commit into
mainfrom
fix-sftp-filezilla-compat-10571038290164382082
Jul 6, 2026
Merged

Fix SFTP compatibility with FileZilla#28
VulcanoSoftware merged 1 commit into
mainfrom
fix-sftp-filezilla-compat-10571038290164382082

Conversation

@VulcanoSoftware

Copy link
Copy Markdown
Owner

This change fixes the "Not a directory" error when connecting to the SFTP server using FileZilla. The issue was caused by the SFTP handler not providing enough metadata about the virtual filesystem entries. By implementing scandir and providing explicit SFTPAttrs, clients can now correctly distinguish between files and directories. Additionally, I've improved path handling to ensure that client roots and non-existent paths are handled gracefully.


PR created automatically by Jules for task 10571038290164382082 started by @VulcanoSoftware

- Implement `scandir` instead of `listdir` to provide file attributes (mode, mtime).
- Provide explicit `S_IFDIR` for directories and `S_IFREG` for files.
- Include `.` and `..` entries in directory listings.
- Improve error handling for non-existent clients and paths in SFTP.
- Fix path resolution to correctly identify client root directories.

Co-authored-by: VulcanoSoftware <113239901+VulcanoSoftware@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@VulcanoSoftware VulcanoSoftware marked this pull request as ready for review July 6, 2026 20:14
@VulcanoSoftware VulcanoSoftware merged commit 94f00af into main Jul 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant