Solved

Hopefully an easy FTP Question - Defaulting to Home Directory

Posted on 2009-04-14
4
339 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Samba is the de-facto standard program (or, more correctly: suite of programs) that UNIX and Linux systems use to share files with Microsoft Windows (and more recently, Mac OS-X) systems. Currently, there are 2 common versions of Samba available,…
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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