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

Encapsulate working directory with ". #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ngjermundshaug
Copy link

Missing implementation of RFC 959. Makes FileZilla and other clients unable to download files/folder with spaces in the names.

From RFC 959:

Essentially because the PWD command returns the same type of information as the successful MKD command, the successful PWD command uses the 257 reply code as well.

....upon successful completion of an MKD command, the server should return a line of the form:

257<space>"<directory-name>"<space><commentary>

That is, the server will tell the user what string to use when referring to the created directory. The directory name can contain any character; embedded double-quotes should be escaped by double-quotes (the "quote-doubling" convention)."

…ers with spaces in them (in Filezilla and other FTP Clients).
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