I need to ftp a few compressed .Z files I create to a client box. Currently I have a batch which calls a few jobs that get the files created. I run unix commands using DSExecute to compress the files. I can create a temporary ftp file with the ftp commands and call ftp from unix to send the files but I was wondering if there is any mechanism to ftp in binary mode from a datastage job. Our client prefers jobs done in regular Datastage jobs as far as possible and using batch scripts only when there isn't any other option.
Any ideas?
Ftp unix compressed .Z files in Datastage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 19
- Joined: Fri Apr 02, 2004 10:13 am
There isn't any other option. While technically the FTP stage says it can handle binary data, I wouldn't want to try and make it work... and I think you are out of luck in any case because the files are compressed.
Stick with your scripts and command line ftp.
Stick with your scripts and command line ftp.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers