FTP Logs


#1

Hey,

Is there a way to find out the IP of a last successful FTP login to one of my sites? I tried looking in the logs directory, but couldn’t find anything.

Thanks!


#2

From the command line:

last -100 username

… shows the last 100 logins for user username. :wink:

–rlparker


#3

hmmm, i’m getting “invalid command.” returned.

Here’s what I did:

  • Start -> Run -> cmd
    ftp mydomain.com
    typed in username
    typed in password
    typed in “last -100 username” (without quotations)

#4

last is a UNIX shell command. You need to login to the web server and run the command there. Login to the shell with PuTTY after enabling shell access (if you haven’t already).

si-blog
Max discount on any plan with promocode SCJESSEYTOTAL


#5

I’m sorry, that command is executed from the shell command line. You need to log in with an ssh client to use it.

–rlparker


#6

Thanks! That worked great…