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

FTP backend fails location.Exists on certain windows servers #187

Closed
funkyshu opened this issue May 30, 2024 · 0 comments
Closed

FTP backend fails location.Exists on certain windows servers #187

funkyshu opened this issue May 30, 2024 · 0 comments

Comments

@funkyshu
Copy link
Member

The underlying issue in the jlaffaye/ftp module is that doing a dir listing does properly recognize the date formats in some Windows ftp servers.
See jlaffaye/ftp#350

Expected behavior
We update the lib to the lastest version that includes the fix.
We should also update the dataconn.go openWriteConnection func to make a good faith effort to create a dir but to continue if the error reason is that the dir already exists which returns as 550 Cannot create a file when that file already exists.

funkyshu added a commit that referenced this issue May 30, 2024
… FTPS connections were failing due to a bug in the library. Also updated dataconn to continue even if it fails to MakeDir.
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

No branches or pull requests

1 participant