Forum Discussion
BradB_11461
Nimbostratus
Jun 22, 2009File copy from F5 LTM via TFTP or FTP?
I know this is probably pretty basic. But, is there a simple method to copy a file generated on the F5 LTM (running release 9.1.2) to either a tftp or ftp server? It's a larger output file sitting in the /var/tmp directory.
3 Replies
- hoolio
Cirrostratus
WinSCP is a simple to use open source Windows GUI tool you can use to copy files to/from any SSH server including LTM.
www.sf.net/projects/winscp/
Or if you really want to use FTP, LTM has an FTP client:
https://support.f5.com/kb/en-us/solutions/public/0000/100/sol175.html
Aaron - James_Quinby_46Historic F5 AccountI don't believe a tftp client is present on the LTM. FTP will work, unless you're looking to automate the transfer. You'd need something along the lines of an expect script for that.
You can certainly use scp to move files off the unit.
If you want to get crafty, you can use netcat to move files to and fro. On your receiving host, do:
nc -v -l -p 12345 | tar xf -
...then on the LTM do:
tar cf - (filename) | nc (IP of the receiving host) 12345
This will copy the file directly off via the netcat listening on port 12345. It's nice and quick, requires no password and copies without the overhead of scp. - BradB_11461
Nimbostratus
Thanks! I'll give the WinSCP a try.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects