将虚拟文件拖放到 FileDrop 接收目标
我有一个 sftp 客户端,并且想将虚拟文件从我的列表视图(实际上是 ObjectListView)拖动到桌面或其他接受放置文件的目标。我可以将文件从桌面拖到列表视图中,然后上传。
拖放时,要删除的文件不存在于本地文件系统上。
我对拖放不太熟悉,所以如果有人有与此相关的资源,请发布它们。
据我所知,大多数相关的拖放问题并不能回答我的具体问题。
I have an sftp client, and would like to drag virtual files from my listview (actually ObjectListView) to desktop, or other target accepting drop file. I can drag files from desktop to my listview and then upload it.
The file being dropped is not present on the local filesystem, at the time of drag/drop.
I am not too familiar with drag/drop, so if anyone has any resources related to this, please post them.
Most related drag/drop questions doesn't answer my specific question as far as I looked.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
寻找我对此问题的答案:使用 IStream 拖放虚拟文件。我必须说,您想要实现的任务并不容易完成,并且(据我所知)网络上没有简单、有效的解决方案。
但我自己在.net中实现了这样的任务,所以这当然是可能的。您可以在上面的链接中找到所有必要的详细信息。
Look for my answer to this question: Drag and drop virtual files using IStream. I must say, that task you want to implement is not easy to do, and (from what I know) there is no simple, working solution on the net for this.
But I've implemented such task by myself in .net, so it is possible of course. You can find all necessary details in the link above.