Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, the
FTPStorage
does not allow to work in the default directory of the connection. It only allows the following:ftp://foo:b@r@localhost:2121/
: Adding a "/" is required, but this will execute a CWD to the root directory "/", which often fails on multi-tenancy services, where you only get access to a subfolder.ftp://foo:b@r@localhost:2121/test
: This will execute a CWD to the directory "test" relative to the connections PWD.ftp://foo:b@r@localhost:2121//root/test
: This will execute a CWD to the absolute path "/root/test".I would like to propose the change, that you can omit the path completely, which leaves you in the directory that gets opened by default. So with the new handling both
ftp://foo:b@r@localhost:2121
andftp://foo:b@r@localhost:2121/
won't execute a CWD.If you want to start in the root directory, you have to use
ftp://foo:b@r@localhost:2121//
.What do you think?