Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump FTP attributes after transfer before changing attributes #16468

Open
AliveDevil opened this issue Oct 30, 2024 · 0 comments
Open

Dump FTP attributes after transfer before changing attributes #16468

AliveDevil opened this issue Oct 30, 2024 · 0 comments
Labels
enhancement ftp FTP Protocol Implementation

Comments

@AliveDevil
Copy link
Contributor

AliveDevil commented Oct 30, 2024

When debugging permissions issues on FTP, it would be helpful to have an attribute dump right after the completed upload.

When "Preserve Permissions" or "enqueue chmod" in Cyberduck/Mountain Duck is active, it's impossible to verify the server-side permissions, without disabling permission preservation.

2024-10-29 18:20:05,998 [KQcf3jTR-transfer-1] INFO  ch.cyberduck.transcript.request - STOR /httpdocs/Test.pdf
2024-10-29 18:20:06,028 [KQcf3jTR-transfer-1] INFO  ch.cyberduck.transcript.response - 150 Opening BINARY mode data connection for /httpdocs/Test.pdf
2024-10-29 18:20:08,860 [KQcf3jTR-transfer-1] INFO  ch.cyberduck.transcript.response - 226 Transfer complete
2024-10-29 18:20:08,864 [KQcf3jTR-transfer-1] INFO  ch.cyberduck.transcript.request - SITE CHMOD 600 /httpdocs/Test.pdf
2024-10-29 18:20:08,891 [KQcf3jTR-transfer-1] INFO  ch.cyberduck.transcript.response - 200 SITE CHMOD command successful
2024-10-29 18:20:08,898 [KQcf3jTR-transfer-1] INFO  ch.cyberduck.transcript.request - MFMT 20240904014403 /httpdocs/Test.pdf
2024-10-29 18:20:08,925 [KQcf3jTR-transfer-1] INFO  ch.cyberduck.transcript.response - 213 Modify=20240904014403; /httpdocs/Test.pdf
2024-10-29 18:20:08,927 [KQcf3jTR-transfer-1] INFO  ch.cyberduck.transcript.request - MLST /httpdocs/Test.pdf

This can be gated behind a log.isDebugEnabled so it doesn't slow down regular operation.

@AliveDevil AliveDevil added ftp FTP Protocol Implementation enhancement labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ftp FTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

1 participant