1847027 Members
4362 Online
110258 Solutions
New Discussion

ftp proxy command

 
Charlie Rubeor
Frequent Advisor

ftp proxy command

Here's the situation. An application on server A needs to run an ftp script that transfers a file from server B to server C.

Here are the ftp commands, from server A, that I have so far:

# ftp serverB
ftp> proxy open serverC
ftp> proxy get /tmp/test.file
ftp> bye
#

All of the logins and passwords are correct, etc.

Here's the problem. The only way that I have been able to get these commands to work is with the -P option on the ftp service in inetd.conf.

(http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=500000000092318)

For security reasons, I would rather not do this. Can anyone provide an alternative to this?

Also, unfortunately, the application requires ftp. That rules out using any other tools, such as rcp.

tia

Charlie Rubeor
HP-UX Certified IT Professional
1 REPLY 1
Glerick Dale
Frequent Advisor

Re: ftp proxy command

Have you tried using secure shell ftp (sftp) This will help with the security issue and All three servers will require secure shell.