access to a samba folder within Stata on Ubuntu

243 Views Asked by At

I want to access to a samba folder to use it within Stata 13, so read and save data.

I'm quite new to ubuntu, so I do not know much about it. But I've googled and I've found how to mount and access a samba folder, but I can not understand if the Stata command use can handle such folders.

I've tried the following, without success

/home/federico/.gvfs/federico on karl.stats.ucl.ac.uk/stata_shared/Thin10/THIN10_1201/

/home/federico/.gvfs/federico%20on%20karl.stats.ucl.ac.uk/stata_shared/Thin10/THIN10_1201/"

/home/federico/.gvfs/karl.stats.ucl.ac.uk/stata_shared/Thin10/THIN10_1201/

smb://stats;[email protected]/federico/stata_shared/Thin10/THIN10_1201/

smb://[email protected]/federico/stata_shared/Thin10/THIN10_1201/

smb://karl.stats.ucl.ac.uk/federico/stata_shared/Thin10/THIN10_1201/

Can someone please tell me if this is possible or it is a total waste of time?

1

There are 1 best solutions below

3
radek On

What works for me (Stata 13 on Ubuntu box, connecting to Win Server 2008) is a command:

use "/run/user/1000/gvfs/smb-share:server=SERVER_NAME,share=DRIVE_LETTER$/PATH/DATASET_NAME.dta" 

With your input in places of capitalized names.