在Java中将测试文件从Linux机器访问Windows机器? [英] Access test file from Linux machine to windows machine in java ?

查看:79
本文介绍了在Java中将测试文件从Linux机器访问Windows机器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<小>
我必须将文件从Linux机器读取/复制到Windows机器(在Java中)?


i have to read/copy file from linux machine to windows machine (in java )?

推荐答案

请确保在Windows计算机上创建了共享",并且已正确设置共享和文件系统的访问权限.视窗.现在,您可以挂载"与Linux共享的文件,并像访问其他文件系统一样对其进行访问.
首先使用Linux工具进行测试.
Make sure that a "share" was created on the Windows machine, and that access rights for the share and the file system were set correctly in Windows. Now you can "mount" that share with Linux, and access it like any other file system.
Test that with Linux tools first.


这篇关于在Java中将测试文件从Linux机器访问Windows机器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆