-
Notifications
You must be signed in to change notification settings - Fork 93
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
Can't use FileZilla Client under macOS, Can't download file from chrome. #74
Comments
filezilla version: 3.31.0 Terminal logs:
In filezilla GUI: |
@fclairamb In sample_driver there is no handler for /virtual/file2.txt, so sample server tries to find it in BaseDir (temporary-folder/shared). Does not find it there and returns an error, which is observed @nifflerfox |
After that it seems to behave like this when the directory is empty. func (driver *ClientDriver) ListFiles(cc server.ClientContext) ([]os.FileInfo, error) {
path := driver.BaseDir + cc.Path()
files, err := ioutil.ReadDir(path)
if err != nil {
return nil, err
}
files = append(files, virtualFileInfo{
name: ".",
mode: os.FileMode(0666) | os.ModeDir,
size: 4096,
})
return files, err
} You can suppress it if there is a current directory object like this |
@nifflerfox you use "127.0.0.1", but @fclairamb use "localhost" |
I don't think we can consider it as a bug, but we can still fix it. Not a bugExplanationWhen you connect to Exampleslocalhost -->
127.0.0.1 -->
Still... Not coolAs it breaks the tests people are performing on the server. The fixWith #53, we have the ability to declare a dynamic IP resolver to change the target IP address depending on the client. So what we can do is that all the loopback clients can have a loopback server address. |
Issue #74: Loopback clients handling
I compile and run the main.go with latest golang under latest macOS version.
FileZilla can't list dir after auth.
Chrome can list dir but can't download file.
The text was updated successfully, but these errors were encountered: