Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
FTPFILE_NOCWD: Avoid redundant CWDs #4382
here's the final integration of my changes from #4331 for FTPFILE_NOCWD when an absolute path is specified. There shouldn't be any change in behavior, only optimizations if it is determined that CWDs are not needed:
FTPFILE_NOCWD + full path:
FTPFILE_NOCWD + relative path:
Starting a new connection:
A few observations:
Yes, seems like it. I'll work on a separate pull request once this one is sorted out, because the source code overlaps.