php ftp question

Discussion in 'PHP' started by stephan2307, Nov 20, 2012.

  1. #1
    I don't think that this is possible but I thought asking won't hurt.

    Is it possible to list any ftp account that is currently being used?

    Thanks.
     
    stephan2307, Nov 20, 2012 IP
  2. bm4web

    bm4web Well-Known Member

    Messages:
    718
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    #2
    You want to know the list of FTP account that are currently on use for your server?
     
    bm4web, Nov 20, 2012 IP
  3. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #3
    yeah so lets say there are 3 ftp accounts and one person is just uploading a file via ftp I want to get that 1 account that is being used.
     
    stephan2307, Nov 20, 2012 IP
  4. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #4
    there is software that will display this kind of information when users are logging in... but what's your purpose?
     
    EricBruggema, Nov 20, 2012 IP
  5. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #5
    is there no way to do this with php? sorry can't tell right now. But will reveal soon.
     
    stephan2307, Nov 20, 2012 IP
  6. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #6
    Nope, FTP isn't handled by PHP itselve.
     
    EricBruggema, Nov 20, 2012 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    If the FTP server can keep a dynamic log, you can write PHP code to read that log to see who's logged in. It depends on the FTP server.
     
    Rukbat, Nov 22, 2012 IP