使用 Jcraft 通过 SFTP 传输文件
- 列表项
我可以编写一个java程序通过SFTP传输文件。但是,这将包含一个带有可执行命令的脚本。 这可以通过 Jcraft 实现吗? 比方说,示例脚本文件是这样的:
cd pub
ascii
get filename.txt
put otherFile.txt
bye
- List item
I can write a java program to transfer files via SFTP. However, that would consist of a script with executable commands.
Can this be achieved with Jcraft?
Let's say, the sample script file is something like this:
cd pub
ascii
get filename.txt
put otherFile.txt
bye
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论