- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Is it possible to allow ftp to use the free space in micro memory card?
Now is using another space and reaches full with more or less 35Mb.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
There is new application note going to be released, which describes the procedure more in detail.
The release will be soon. So keep checking updates on this forum.
Here is a small hint from the upcomming application note:
- Format your flash drive in NTFS – in “My computer” by right click and format
- Update USB start up script to:
-- create usb mount directory
- os.execute('mkdir -p /mnt/usb')
-- find first matching usb storage device
dev = io.readproc('ls /dev/sd*1 2>/dev/null'😞match('/dev/sd%l1')
-- found it, mount
if dev then
os.execute('mount '.. dev ..' /mnt/usb')
os.execute('mkdir -p /home/ftp/usb')
os.execute('mount /mnt/usb /home/ftp/usb')
os.execute('chown ftp:ftp /home/ftp/usb')
alert('[usb-mount] mounted %s', dev)
-- nothing found, local flash will be used
else
alert('[usb-mount] no device found')
end
3. Reboot homeLYnk
Now can be read/write to USB flash drive via FTP client.
Regards
Tomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
It is possible to use USB flashdisk to extend your ftp accessible space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
How?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
There is new application note going to be released, which describes the procedure more in detail.
The release will be soon. So keep checking updates on this forum.
Here is a small hint from the upcomming application note:
- Format your flash drive in NTFS – in “My computer” by right click and format
- Update USB start up script to:
-- create usb mount directory
- os.execute('mkdir -p /mnt/usb')
-- find first matching usb storage device
dev = io.readproc('ls /dev/sd*1 2>/dev/null'😞match('/dev/sd%l1')
-- found it, mount
if dev then
os.execute('mount '.. dev ..' /mnt/usb')
os.execute('mkdir -p /home/ftp/usb')
os.execute('mount /mnt/usb /home/ftp/usb')
os.execute('chown ftp:ftp /home/ftp/usb')
alert('[usb-mount] mounted %s', dev)
-- nothing found, local flash will be used
else
alert('[usb-mount] no device found')
end
3. Reboot homeLYnk
Now can be read/write to USB flash drive via FTP client.
Regards
Tomas
