FTP Support

Suggestions/requests/ideas for RuneAudio core features and functions

FTP Support

Postby Mte90 » 04 Aug 2014, 21:00

Is possible add the ftp support?
In this way is not needed an extern usb archive :D
Professional #Geek, #Developer, #Debian user, #FirefoxOS Training Lead Italy, #KDE/#QT lover, Zagoriano, Moderator of #Wordpress Italy Plus
Mte90
 
Posts: 16
Joined: 04 May 2014, 11:26

Re: FTP Support

Postby rasti » 23 May 2015, 18:24

I also would like to have FTP access (to my MP3 collection on an USB stick)

I tried to install vsftpd but couldn't get it work (but pls note I'm almost a linux analphabet)
Then I came accross that page here.
http://netarky.com/programming/arch_lin ... l#sftpGood
I reinstalled with a new image from scratch and noticed that this
line "Subsystem sftp /usr/lib/ssh/sftp-server " is not commented out in /etc/ssh/sshd_config
Howerver, when I triy to ftp or sftp with root/rune or anonymous I get no connection.
What am I doing or thinking wrong?

Regards

Ralf
rasti
 
Posts: 40
Joined: 21 May 2015, 16:27

Re: FTP Support

Postby hondagx35 » 23 May 2015, 19:42

Hi rasti,

SFTP works out of the box on all RuneAudio platforms.
I use WinSCP without any problems.

sftp.jpg
sftp.jpg (54.29 KiB) Viewed 2655 times


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: FTP Support

Postby rasti » 23 May 2015, 23:28

Thank you Frank,

I use totalcommander and sftp is not included in the normal ftp interface...
http://ghisler.ch/board/viewtopic.php?t ... dfe62141c4
I tried to install the total commander plugin but couldn't get it work.

I installed WINSCP and it works.
At least in the directories on the SD card.
The USB is only visible to me but I cannot write files to (I get error code 4)
Owner of these fies is MPD and I FTPd as user root, so
probably a user right problem....any quick fix for that ?

Regards

Ralf
rasti
 
Posts: 40
Joined: 21 May 2015, 16:27

Re: FTP Support

Postby hondagx35 » 23 May 2015, 23:41

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: FTP Support

Postby rasti » 24 May 2015, 00:01

It works now ! (at least with WINscp, as for total commander I need to dig a bit deeper ....)

last question for tonight, when I am in the browse directory window, and see
the option USB STORAGE (1) , how or where can I change the default start folder from
/mnt/MPD/USB/
to
/mnt/MPD/USB/sda1-usb-SanDisk_Cruzer_B/mp3/

Do I just need to edit that line :
allowed_media_dirs = /mnt/MPD/USB
in that same file udevil.conf ?

thanks

Ralf
rasti
 
Posts: 40
Joined: 21 May 2015, 16:27

Re: FTP Support

Postby hondagx35 » 24 May 2015, 09:33

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: FTP Support

Postby rasti » 24 May 2015, 11:18

Hello,

my /etc/fstab: static looks quite different (see below), I have no clue what to change there

If this is a rather big deal to change the start directory, I'll leave it as is.
As I already mentioned, I am almost a lunix analphabet....
Anyway, I have all I ever needed and that small change is just cosmetics....

Thanks
Ralf


#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> $
/dev/mmcblk0p1 /boot vfat defaults $
/dev/mmcblk0p5 / ext4 noatime,nodiratime,nouser_xattr,errors=remount-ro $
logs /var/log ramfs nodev,nosuid,noatime,mode=1777,size=1M $
rune-logs /var/log/runeaudio ramfs nodev,nosuid,noatime,mode=1777,size=10M $
rasti
 
Posts: 40
Joined: 21 May 2015, 16:27

support RuneAudio Donate with PayPal


Return to Feature request

Who is online

Users browsing this forum: No registered users and 35 guests