Operating System - HP-UX
1828225 Members
2116 Online
109975 Solutions
New Discussion

FTP Proxy with compress commands?

 
SOLVED
Go to solution
Michael Campbell
Trusted Contributor

FTP Proxy with compress commands?

Folks

I need to be able to do the following:

Compress a file
FTP the file from ServerA to ServerB
Uncompress the file on ServerB
Ftp the file from ServerB to ServerC

ServerA is HP-UX
ServerB is UNIX but i'm not sure what "flavour"
ServerC is an IBM Mainframe

Any ideas on this?

Any Help Appreciated

Michael
4 REPLIES 4
Karthik S S
Honored Contributor

Re: FTP Proxy with compress commands?

Yes you should be able to do that.

gunzip works will all flavors of UNIX for compressing file. Not sure though with Mainframe.

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Naveej.K.A
Honored Contributor

Re: FTP Proxy with compress commands?

Hi Michael,

If you use rcp instead, you will be able to acomplish all these in a single step or a single script.

Me too have no idea about the mainframe.

regds
naveej
practice makes a man perfect!!!
Michael Campbell
Trusted Contributor

Re: FTP Proxy with compress commands?

Hi

I need to be able to script this. Can I issue the uncompress on ServerB and then proxy ftp onto ServerC from within the FTP shell script that will run on ServerA?

Regards

Michael
Elmar P. Kolkman
Honored Contributor
Solution

Re: FTP Proxy with compress commands?

Michael,

If you put the script on ServerB, it's the easiest... First pull the file from ServerA and then push it to serverC.
Only problem is the compressing... That could be solved by using scp for the first copy action. It can compress on the fly...

So, check what is available for tools. Also check what is available on the mainframe. Make sure ftp is available.

Good luck,

Elmar
Every problem has at least one solution. Only some solutions are harder to find.