tachikoma01
Cadet
- Joined
- Jul 26, 2012
- Messages
- 5
Hi!
I have a little bash script I'm using on my linux computer and I'd like to use it on my freenas NAS. The script is based on lftp (a command line ftp client). The goal of this script is simply to connect to a remote server, check if there's some new file (in a specific directory) since the last check and download the new files.
My problem is I can't install lftp :
1/ I tried with portsnap but portsnap is unknown to freenas.
2/ I downloaded the sources of lftp but when I tried to compile them, I found out there is no c compiler with freenas.
So, is there a way to install lftp?
The fact there is no C compiler and no portsnap available, is it because freenas is based on nanoBSD or has to be limited for 2GB usb key(by the way do you know you can have a 16GB usb3 key for less than 25$ nowadays)?
Is there portsnap or a C compiler available on nas4free?
PS : The downloaded files are moved frequently so I can't just use rsync to make a mirror directory.
PS2 : I am using freenas 8.2 on a 16gb usb stick. (no installation I just let it boot and I used the gui)
I have a little bash script I'm using on my linux computer and I'd like to use it on my freenas NAS. The script is based on lftp (a command line ftp client). The goal of this script is simply to connect to a remote server, check if there's some new file (in a specific directory) since the last check and download the new files.
My problem is I can't install lftp :
1/ I tried with portsnap but portsnap is unknown to freenas.
2/ I downloaded the sources of lftp but when I tried to compile them, I found out there is no c compiler with freenas.
So, is there a way to install lftp?
The fact there is no C compiler and no portsnap available, is it because freenas is based on nanoBSD or has to be limited for 2GB usb key(by the way do you know you can have a 16GB usb3 key for less than 25$ nowadays)?
Is there portsnap or a C compiler available on nas4free?
PS : The downloaded files are moved frequently so I can't just use rsync to make a mirror directory.
PS2 : I am using freenas 8.2 on a 16gb usb stick. (no installation I just let it boot and I used the gui)