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

SFTP fails with some symbolic links since update to 2.8b1 #1069

Closed
cyberduck opened this issue Mar 19, 2007 · 4 comments
Closed

SFTP fails with some symbolic links since update to 2.8b1 #1069

cyberduck opened this issue Mar 19, 2007 · 4 comments
Assignees
Labels
bug fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

ce6063f created the issue

Since updating, sftp listing and sunchnonisation actions fail with error message:

"A reference was made to a file which does not exist"

The sftp server is fine - sftp : from terminal works with no problem

Get this error every time on attempting to connect to mac server.

On trying to synchronize to a linux server, the initial file listing is ok, showing all files on the remote server, but then synchronize window shows that none of the local files exist on the remote server. On cancelling the synchronisation, the transfer window comes up with this same "reference to a file which does not exist" error

@cyberduck
Copy link
Collaborator Author

ce6063f commented

This occurs when the target of a symbolic links is either absent (eg a link to a removable hard disk) or is given in relative terms (eg link.file -> ../target.file rather than link.file -> /toplevel/level2/target.file).

terminal sftp command simply lists the link as a file, but Cyberduck attempts to resolve the link and fails.

For listing, Cyberduck fails if there is an unrecognised link in the login directory (eg /Users/userid) even when asked to list a different path (eg !sftp://userid@machine:22/dir).

Synchronisation will fail to provide the remote listing (and hence assume none of the local files exist on the remote sever) if there is an unrecognised link anywhere in the recursive directory listing.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Fixed in 1ff249e.

@cyberduck
Copy link
Collaborator Author

b7cc364 commented

I am confirming the original error of this ticket. I just updated to 2.8b1 (3161), and I am receiving the "A reference was made to a file which does not exist" error message when trying to connect via SFTP. Version 2.7.3 (2930) connects fine. I do not know if this problem was actually fixed in 1ff249e as stated by dkocher, but I am having this problem in 5b8d33e.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Fixed in be764c0. See #1156.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants