[
https://issues.apache.org/jira/browse/SSHD-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhenliang Su updated SSHD-845:
------------------------------
Description:
I use SSHD as a middleman between client and target sftp server.
I use winscp to connect my middleman.
my middleman source code is here:
[Main|[https://issues.apache.org/jira/secure/attachment/12916355/Main.java]]
And I found two interesting issues:
# The root directory has no file named `a` or `b`. When I use winscp to create
a symlink `a` pointing to `b`. I expected created a file named `a`. Actually it
created a file named `b`. Without my middleman, It goes as my expected.
# When I try to delete a symlink file without target file in winscp, it
failed. Without my middleman, it will be successful.
was:
I use SSHD as a middleman between client and target sftp server.
I use winscp to connect my middleman.
my middleman source code is here: [^Main.java]
And I found two interesting issues:
# The root directory has no file named `a` or `b`. When I use winscp to create
a symlink `a` pointing to `b`. I expected created a file named `a`. Actually it
created a file named `b`. Without my middleman, It goes as my expected.
# When I try to delete a symlink file without target file in winscp, it
failed. Without my middleman, it will be successful.
> sftp create symlink failed
> --------------------------
>
> Key: SSHD-845
> URL: https://issues.apache.org/jira/browse/SSHD-845
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.7.0
> Environment: winscp: version 5.11.2
> Reporter: Zhenliang Su
> Priority: Major
> Attachments: createlink.jpg, createlinkcontextmenu.jpg,
> deletesym.jpg, deletesymmsg.jpg
>
>
> I use SSHD as a middleman between client and target sftp server.
> I use winscp to connect my middleman.
> my middleman source code is here:
> [Main|[https://issues.apache.org/jira/secure/attachment/12916355/Main.java]]
> And I found two interesting issues:
> # The root directory has no file named `a` or `b`. When I use winscp to
> create a symlink `a` pointing to `b`. I expected created a file named `a`.
> Actually it created a file named `b`. Without my middleman, It goes as my
> expected.
> # When I try to delete a symlink file without target file in winscp, it
> failed. Without my middleman, it will be successful.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)