ftptail – Tail Tropo logs to your local machine
March 24th, 2011 by John DyerFound a cool tool today that allows you to tail your application’s logs locally via FTP. The tool was created by Will Moffat, and it’s really a nice find! Usage is really quite simple:
ftptail -s 1 -f -p password.txt myAcount@ftp.tropo.com/logs/2011-03-24-1600.txt
The developer didn’t have this up on GitHub, so I went ahead and created a new project here. I also made sure to give Will full credit for his authorship! Please feel free to fork this bit of awesomeness, and if you make any improvements please don’t forget to send a pull requests!
Thanks!
-John
Related posts:


John, cool utility–thanks for discovering it.
Do you have plans to support SFTP on Tropo? Some Tropo logs contain sensitive info.
Hey Sim-
We’ve opened up a ticket to look at SFTP support in the future. Will keep you posted.
Hello,
I am getting error each time running ftptail :
—- Could not open /tmp/xrvIqezeS8 at ftptail line 187 main::quit(‘Could not open /tmp/xrvIqezeS8′) called at ftptail line 104 main::getNlines called at ftptail line 56 —-
Trying with sudo and root account does not work.
I am running Ubuntu Oneiric Ocelot 64 bit with software: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] perl 5, version 12, subversion 4 (v5.12.4)
Any help?
Thanks!
Hello Moses,
I am afraid we dont actually support this product, it was actually written by Will Mofet ( http://hamstersoup.wordpress.com/2006/05/12/ftptail/ ) so I would suggest that you reach out to him on this issue. If you have any trouble doing so please let us know and we’ll be glad to try and help get you in touch.
Regards,
John
Thank you for this script! https://github.com/johntdyer/ftptail