LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-25-2008, 12:50 PM   #1
ftenario
Member
 
Registered: Jul 2003
Location: Camarillo, CA
Distribution: Debian
Posts: 48

Rep: Reputation: 15
Proftpd Server Configuration Question


Hello,

I installed proftpd server on debian. I have an existing custom application that connects to a previous ftp server. When this application connects, it changed directory to something like, "~/my_dir". How do I setup proftpd to do something like this?

Right now, the application returns an error saying "~/my_dir" does not exists" when connecting to the new proftpd server.

thanks for any help,
ferdinand
 
Old 02-26-2008, 07:54 AM   #2
my_seagul
LQ Newbie
 
Registered: Feb 2008
Location: Finland
Distribution: Fedora Core
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by ftenario View Post
Hello,

I installed proftpd server on debian. I have an existing custom application that connects to a previous ftp server. When this application connects, it changed directory to something like, "~/my_dir". How do I setup proftpd to do something like this?

Right now, the application returns an error saying "~/my_dir" does not exists" when connecting to the new proftpd server.

thanks for any help,
ferdinand
You should set "jail" where you force ftp user on every login.

I simply user the home directory, but you can force default directory somehow like this:

DefaultRoot /path/to/dir group1,group2

So if would it work if you make something like this:

DefaultRoot ~/my_dir
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X Server Configuration Question Kharl Linux - Newbie 2 12-25-2007 12:39 PM
proftpd server configuration help on debian sridhar11 Debian 2 01-13-2006 08:01 AM
ProFTPD directive configuration question orange400 Linux - General 2 04-24-2004 07:17 PM
Proftpd server configuration and permissions?!?!? Vid Linux - Software 4 02-02-2004 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration