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

invalid path with // #972

Closed
cyberduck opened this issue Nov 29, 2006 · 4 comments
Closed

invalid path with // #972

cyberduck opened this issue Nov 29, 2006 · 4 comments
Assignees
Labels
bug ftp FTP Protocol Implementation high priority wontfix
Milestone

Comments

@cyberduck
Copy link
Collaborator

13cc724 created the issue

hello,

since 2.7 (but also 2.7.1) i can not use cyberduck with the url ftp://ftphost//directory !
The URL with two "/" amended to one "/" and my Ftp Server said:

NOOP
200 NOOP Command Successful
CWD /obelix_user_server
550 Invalid Path

Is there a reason for it?

Oliver

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Since 2.7 paths are normalized. See Path.java. A CWD command to /obelix_user_server should be the same as to //obelix_user_server.

@cyberduck
Copy link
Collaborator Author

13cc724 commented

A CWD command to /obelix_user_server should be the same as to //obelix_user_server.

on my Netware FTP Server is /obelix_user_server and //obelix_user_server not the same.

/obelix_user_server: changes into the dir obelix_user_server
but //obelix_user_server: changes on the server (root)

@cyberduck
Copy link
Collaborator Author

@dkocher commented

As of 63fa2ef, when the setting path.normalize is set to false, paths are not normalized. Does have side effects however, see #935.

To disable the normalizing of paths, enter in a Terminal.app window:

defaults write ch.sudo.cyberduck path.normalize false

@cyberduck
Copy link
Collaborator Author

@dkocher commented

As of ceaf53f we no longer normalize '//' to '/'.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug ftp FTP Protocol Implementation high priority wontfix
Projects
None yet
Development

No branches or pull requests

2 participants