开发者

Accessing a windows share with groovy

开发者 https://www.devze.com 2023-04-11 19:13 出处:网络
Hey i\'m trying to access a windows share to get a given XML file that I need to do some work on. I\'m trying to do this with a groovy script that wi开发者_运维知识库ll run in soapui, but i can\'t se

Hey i'm trying to access a windows share to get a given XML file that I need to do some work on. I'm trying to do this with a groovy script that wi开发者_运维知识库ll run in soapui, but i can't see how I can access the share without adding something like JCIFS or another external lib. Is there anyway to access the share without external libs and if not could somebody point me to an example of how you access the share.


Okay I have tried with the jcifs and that works, but would not be the best.

But we can access with just a normal windows share access.

So if i use: " \\\\<ip>\\c\$\\folder" i can get to my files.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号