Page 1 of 1

SFTP Client + Toolchain

PostPosted: Tue Apr 17, 2012 3:16 pm
by kryss
Hey,
Could we have a SFTP client compiled in the next release?
If it is too much work, could you share the toolchain in order to cross compile by myself ?
Thanks for your help

Re: SFTP Client + Toolchain

PostPosted: Wed Apr 18, 2012 7:33 am
by fvdw
how do you want to use the client ? remember this is a NAS it has no screen so either you have to use it via command line or it much have a kind of web interface. For instance like the transmission client

Re: SFTP Client + Toolchain

PostPosted: Wed Apr 18, 2012 8:14 am
by kryss
I want to use it in common line. But I also have seen that we could mount it as a remote directory!

Re: SFTP Client + Toolchain

PostPosted: Wed Apr 18, 2012 12:08 pm
by Jocko
Hello Kryss,
I do not understand well what you want to do.

Have an sftp client available directly from the NAS can be useful if you want to make a direct transfer of files between ftp server and the NAS.

So as said fvdw, this feature can only be considered by using command lines, so not very practical ...

The simplest is to install a sftp client on a computer of your LAN and by using the GUI to make transfers from (or to) the samba shares (or nfs). Which will use a bit more your network and will require you to keep running the computer when transferring large files)

Re: SFTP Client + Toolchain

PostPosted: Wed Apr 18, 2012 1:15 pm
by kryss
Thanks for your reply. Sorry for not being clear enough!
My goal would be to mount on the nas an sftp resources!
Then I would have make transfers thanks to the web file manager!
But maybe it is not possible!

Anyway, would it be ok to share the firmware toolchain in order to develop on my own ?

Re: SFTP Client + Toolchain

PostPosted: Wed Apr 18, 2012 1:37 pm
by fvdw
I do not use a cross compiling tool chain anymore as it cause lots of dependency issues. I use the nwsp2 for compiling using either a modified version of gcc344 or 423 from optware. Please note that the /opt directory on the system partition can not contain a compile and development packages as the system partition is relative small. if you want to go this route you will have to change it into a symlink to a directory on the big data partition. Needles to say that the content which in there now must be copied/transfered including sym links if you want that the firmware keeps functioning. Be aware that if you compile/install things yourself you might loose compatibitlity with future upgrades or even functioning of the current firmware. Furthermore space for installing extra libs and binaries on the system partition is limited because of the relative small size of the system partition. You need to know what you are doing

Re: SFTP Client + Toolchain

PostPosted: Wed Apr 18, 2012 2:17 pm
by kryss
Thanks a lot for all these informations and warnings!
I don't want to add a lot of things. What I want is to add "sshfs" on the nwsp2 (SSHFS enables mounting an sftp ressource) !

Re: SFTP Client + Toolchain

PostPosted: Thu Apr 19, 2012 7:19 pm
by fvdw
next week I will have alook to this, in any case the fuse module is present in the firmware