Solved

Hopefully an easy FTP Question - Defaulting to Home Directory

Posted on 2009-04-14
4
341 Views
Last Modified: 2013-12-02
Trying to setup an FTP server.  I've tried Cerberus FTP and Filezilla FTP server.  Both allow you to set a home directory for an FTP user.  However, when that user logs in they are not immediately sent to that directory.  You still have to change directory to the home folder.

I know on Linux this isn't a problem.  We are running win2k3 standard and I'd rather not use IIS but will if that's the only way to get the home directory issue working.  Any advice is appreciated
0
Comment
Question by:Hallmark1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 32

Expert Comment

by:Rodney Barnhardt
ID: 24141663
Have you configured the path for the users under the shared folder on Firezilla and given the folder the appropriate permissions? By default, Windows 2003 and higher have read only permissions. I had to change mine to allow uploads.
 

firezilla.jpg
0
 
LVL 7

Expert Comment

by:dolomiti
ID: 24141769
hi,
have you tried to cfg a generic H: in your ftp server,
and define in user script / or profile HOME dir as \\servername\share\%usrname% ?

In Unix the approach is different: when Unix went up, all was in a server: applications, users, programs.
Each user has a /home/path and a entry in /etc/passwd, when he log in interctively (by telnet).
For FTP is easy use the same dir. In Win, user does not login directly on the server, all is a bit more flexible but complicated.

bye
vic
0
 

Author Comment

by:Hallmark1
ID: 24142279
rbarnhardt
yes i have the appropriate permissions. the problem is that when the user logs in they still have to perform another step (change dir) to get to their home directory. They aren't already inside their home directory.  
0
 
LVL 23

Accepted Solution

by:
David earned 500 total points
ID: 25304873
Variation on your theme, but depending upon your FTP you may be able to set the default FTP directory into a global variable (under system administration | advanced features), then script into the FTP start a short macro, something like:
set FTPDEF = "c:\somepath\"
FTP >
lcd %FTPDEF%
 
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Goal:  To set up a secure SSH server for your home computer to make it accessible anywhere AND to use it as a port forwarding proxy. Steps 1.  WinSSHD version 5 is free for personal use.  So download and install it.  You can download it from the…
Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question