Change default ftp directory

nickepe

Member
Messages
63
Hi,
Can anyone help me out here:
In PKT enigma2 image the default ftp folder is /root/.
Then ending up there I must go up one level to reach all the folders.

My problem is that I have a app on my iPad which I stream recorded files from my Relook. BUT it can't have paths in it's ftp-url and I can't go up one level from the root folder.

So I need to change the default ftp-folder to /media/hdd/movie for instance. Is this possible?

/Nickepe
 

korny

Registered
Messages
5
This worked for me:
Telnet in to box to edit the file /etc/vsftpd.conf by appending the line:
local_root=/media/hdd/movie

Then at the telnet prompt type:
killall vsftpd
then restart vsftpd with the command:
/usr/bin/vsftpd &

Start a new ftp session from your device and it should automatically go into /media/hdd/movie
 

nickepe

Member
Messages
63
Thanks for your suggestion.
Then trying to restart vsftpd I got a error message saying:
500 OOPS: missing value in config file for:

Any ideas?

/Nickepe
 

nickepe

Member
Messages
63
Ok, lesson learned:
Never, ever edit files for linux in notepad in windows... It fucks everything up.

vi command was a new experience but got it at last, thank you very much for your suggestion, now it works!!!
 
Messages
700
Its best to use a Unix compatible editor that wont add ACSI to your file! Notepad++ is a good one for windows i use it all the time and works....
 
Top