FTP Help please...

Discussion in 'Server Security' started by Mark Ashcroft, Aug 26, 2004.

  1. I was using an FTP client to connect to a Windows server
    2003 which i pay for and is situated at a server farm.

    Everything was fantastic until it stopped letting me
    connect with the error -

    331 Password required for 'username'.
    PASS (hidden)
    530 User 'username' cannot log in.

    No one except me should have access to this server.
    I can still connect through Remote Desctop Conection
    and have tried resterting the IIS and FTP services
    But this hasnt changed a thing!

    I am on a very tight time scale to fix this.

    I dont know enough about windows server 2003

    I dont even know where to change the password or anything
    with the FTP service.

    Please help.

    my email is

    Regards Mark Ashcroft
    Mark Ashcroft, Aug 26, 2004
    1. Advertisements

  2. Mark Ashcroft

    Jeff Cochran Guest

    The FTP password is the user account password for the user. Might
    help to look at:

    How To Limit Access to a FTP Site in Windows Server 2003:

    INFO: FTP Site Administration Documentation in IIS 6.0:

    Jeff Cochran, Aug 26, 2004
    1. Advertisements

  3. Do you see anything in the Windows event logs?
    Karl Levinson [x y] mvp, Aug 27, 2004
  4. Mark Ashcroft

    Roger Abell Guest

    If you use a different account for FTP login than what you use
    for remote desktop, then this could be explained by the password
    of the FTP access account having expired.
    (Properties of the account in usrmgr.msc)

    Roger Abell
    Microsoft MVP (Windows Server System: Security)
    MCSE (W2k3,W2k,Nt4) MCDBA
    Roger Abell, Aug 27, 2004
  5. Mark Ashcroft

    Guest Guest

    Thanks Guys,

    It was the password that has expiered, I managed to
    change this password using the Computer Management under
    Adminastrative tasks.

    Although this is now connecting - when i connect to the
    FTP account as i would normally do, it loggs on to the
    wrong directory and i cant upload at all.

    The FTP message is as follows:
    200 PORT command successful.
    150 Opening ASCII mode data connection for /bin/ls.

    What is '/bin/ls' - when it finally connects it shows the
    directory i have connected to as '/'.

    Also when connected i have checked that the connection is
    active by viewing it through 'active connections' button
    found in the ftp account properties.

    In the ftp properties on the server i have checked the
    home directory and even changed it to 'C:' so i should in
    theory see the whole of the hard drive.

    This is very confusing for me - have i messed a setting
    up on the server or something?

    Thanks for all your input - I appreciate all of it.

    Regards Mark Ashcroft.
    Guest, Aug 28, 2004
  6. Mark Ashcroft

    Roger Abell Guest

    bin/ls is evidently its way of saying this is what I am running
    in order to do the LIST action commanded
    "/" is notation for the root of the FTP space
    ok, I believe you
    setting home directory for the account in use is only part of
    the situation. You also need to make sure that this is defined
    as a virtual directory in FTP.
    The most direct way for you to resolve this, assuming this is
    "the" use you will make of FTP, is to use the FTP mgmt UI
    to set the root directory for the FTP service to be where you
    want all FTP logins to land by default.
    When you add a virtual directory to the FTP service, it
    will not show automatically after logging into FTP and
    doing an ls (list).
    If the FTP root is the default ftproot, and one adds say
    c:\somewhere\content, then after landing at / which is
    the default (ftproot in this example) one then needs to
    cd somewhere/content
    If you want to see the vdir listed after defining it then
    in the ftproot (whereever that has been remapped or not)
    you need to define empty directories, in this case one for
    somewhere and in it one for content
    Then, landing in the default location there is a visual clue
    to cd to somewhere/content but when this is done one is
    actually moving to the vdir, not to the empty visual clue
    Roger Abell, Sep 2, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.