You can accesss files on your NAS by connecting to NAS from your operating system.
You can open file manager and directly enter the address (format below) in location bar
On Gnome: Open Files, click on File menu and choose “Connect to server…”
You can mount NAS file share at any folder in your local filesystem. This way you will be able to use network files just like your local files.
sudo mount -t cifs -o username=testUser,uid=$(id -u),gid=$(id -g) //10.X.Y.Z/shareName /mount/path
“uid=$(id -u),gid=$(id -g)” specifies user and group ID that the mounted network share (current user/group in this case).
You can also use smbclient to test connection to your NAS file service
smbclient //10.X.Y.Z/shareName -U testUser
Windows operating systems natively support samba shares.
To mount a samba share as network drive (“S:”) fom command line
net use S: \\10.X.Y.Z\shareName /PERSISTENT:YES