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

Create hard links #7699

Closed
cyberduck opened this issue Dec 25, 2013 · 3 comments
Closed

Create hard links #7699

cyberduck opened this issue Dec 25, 2013 · 3 comments
Assignees
Labels

Comments

@cyberduck
Copy link
Collaborator

5ce7476 created the issue

Cyberduck has the ability to create symlinks, but if you need to have a large file in two or more different places, like movie files on a NAS server, where later you'd like to delete one of them, a hardlink is more useful. There are no FTP clients that I know of as of today that allows the creation of hardlinks, the alternative is to manually create them over SSH. However doing so in a client like Cyberduck would be much easier and faster.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

10. sftp: Extension request "hardlink@openssh.com"

This request is for creating a hard link to a regular file. This
request is implemented as a SSH_FXP_EXTENDED request with the
following format:

	uint32		id
	string		"hardlink@openssh.com"
	string		oldpath
	string		newpath

On receiving this request the server will perform the operation
link(oldpath, newpath) and will respond with a SSH_FXP_STATUS message.
This extension is advertised in the SSH_FXP_VERSION hello with version
"1".

@cyberduck
Copy link
Collaborator Author

@cyberduck
Copy link
Collaborator Author

@dkocher commented

We are dependent on Bug 2227 in OpenSSH.

@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
Projects
None yet
Development

No branches or pull requests

2 participants