Solved

Hopefully an easy FTP Question - Defaulting to Home Directory

Posted on 2009-04-14
4
336 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
4 Comments
 
LVL 32

Expert Comment

by:Rodney Barnhardt
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Bloated registry! 29 555
Microsoft Dynamics GP 2013 9 60
Node.js shared hosting server 8 104
Cloning Windows Server 2012 licensing issue 3 67
Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now