This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Remote access to USB drive
#4
This is possible, you just need to mount the USB drive correctly. Note that example uses paths for ftp username, not apps. If using this approach you only need to mount USB drive once and do not unmount it after writing.
Code:
-- create directory.
os.execute('mkdir -p /data/ftp/usb')
-- mount usb drive
os.execute('mount /dev/sda1 /data/ftp/usb/ -o dmask=0000,fmask=0000')
Reply


Messages In This Thread
Remote access to USB drive - by tassiebean - 10.10.2020, 03:21
RE: Remote access to USB drive - by admin - 12.10.2020, 06:46

Forum Jump: