On Sat, Nov 3, 2012 at 1:30 PM, ben crook <[email protected]> wrote:
> i am using the apache ftp server on windows for my app dev. in the 
> user.properties file , i am having difficulty setting the user home dir
>
> I need to be able to modify this home dir variable in the user.properties 
> file within my windows app. I currently take a user defined path in my app 
> such as "C:\users\john\desktop" and that would be the root for the apache 
> user home dir. I tried setting the user.properties file to
>
> ftpserver.user.admin.homedirectory=C:\users\john\desktop
>
> and
>
> ftpserver.user.admin.homedirectory="C:\users\john\desktop"
>
> but neither would work.

\ is used for character escaping in Java properties files, so you'll
need something like
ftpserver.user.admin.homedirectory=C:\\users\\john\\desktop

/niklas

Reply via email to