Access windows shared folder

Hi,

Is there a way to access a share folder in a windows server? I need to read some xls documents…

Thanks

Have you tried simply opening it specifying the path of the file?

No, i’m using linux and before i access a windows folder, i must authenticate with smb, so i thought i need to do the same using go. I’m going to try …

From within go, I’m not sure, but google says there is https://github.com/stacktitan/smb, also there were a lot more hits for “golang smb client”.

But have you tried mounting the share and using golangs regular file handling?

1 Like

That is going to be my last resource, i want to do everything in go code but if not, why will try to mount the folder and access it

Because it is very easy to do this with cifs, i’m not going to lose more time with a go solution. Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.