proftpd: send file ESX 4 to RHEL6 whats the syntax?
Hi,
I've managed to get proftpd installed and running on my ESX4.1 server. as evidenced by the proftpd -h call working. I have the ftp ports open and other networking sorted. My curiosity is how i now actually invoke proftpd to actually send the a file basically im sending a txt file from /tmp/editme to [remotehost]/tmp/ftptransfers how do i do this? sorry if this is daft but i've been googling and musing over the man page for ages now. thanks |
Quote:
So, if you want to change directories on the FTP server to "/tmp/ftptransfers" (although I'd never put files in /tmp AT ALL, but that's up to you), you type in "cd /tmp/ftptransfers", then type in "put /tmp/editme". Done. If you want to automate this, it'll be tricky, since FTP is fairly interactive. Personally, I'd use SCP (or SFTP, both of which are probably already running, if you have SSH on your server now), since it uses the existing SSH port, and can be used with key-exchange, for passwordless logins. Then you can just type in "scp /tmp/editme user@host:/tmp/ftptransfers", and off it goes. |
TB0ne please accept my wettest of digital kisses.
I completely didn't realise that proftpd was a serverside application. allowing ftp connections to it! I completely get what you mean about using SCP as an alternative. but in this case i am using FTP to test application wrapping security software that should prevent ftp transfers despite it being enabled. dummy question 2: why do you denounce /tmp as a bad place to store random stuff? |
Quote:
Just my opinion...I'd create a separate directory for FTP personally, but that's totally your call. :) |
All times are GMT -5. The time now is 01:06 AM. |