Skip to content

Fixes and updates for Windows #6

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

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

Fixes and updates for Windows #6

wants to merge 1 commit into from

Conversation

jdarling
Copy link

Updated to use path.join instead of path.resolve as on Windows
path.resolve will add in the drive letter (C:\temp isntead of
c:[ftpdir]\temp). Enforced user directory creation, added
userdirectory to success() callback, and quit hit update for X commands
as used by Windows FTP.

Updated to use path.join instead of path.resolve as on Windows
path.resolve will add in the drive letter (C:\temp isntead of
c:\[ftpdir]\temp).  Enforced user directory creation, added
userdirectory to success() callback, and quit hit update for X commands
as used by Windows FTP.
@alanszlosek
Copy link
Owner

Would this break support for someone that tried to do "CWD ../../abcd" from a command line client to change directories?

@jdarling
Copy link
Author

It shouldn't, but as I don't use Linux I'd say test it :). I just fixed it for Windows.

@alanszlosek
Copy link
Owner

Pretty sure it'll break that functionality for windows too. Have you tried CWD with relative paths like I mentioned?

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.

2 participants