FTP a Zip File

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
rajkraj
Premium Member
Premium Member
Posts: 98
Joined: Wed Jun 15, 2005 1:41 pm

FTP a Zip File

Post by rajkraj »

Hi,

I have a requirement where i have to FTP a Zip file(.zip) from a remote server then Unzip it into .txt file.
Can we use FTP Enterprise stage to FTP a zip file.
when i have done a search it was clear that FTP plug-in does not transfer zip files.Is this the case with FTP Enterprise stage too.Can some one help me clarify this doubt.

Thanks
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not really. FTP stage streams the rows directly into the DataStage job. You are better advised to create a script to transfer the file and unzip it locally. (Or you could use your unzip command as a filter command in a Sequential File stage.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rajkraj
Premium Member
Premium Member
Posts: 98
Joined: Wed Jun 15, 2005 1:41 pm

Post by rajkraj »

Thanks Ray.
Post Reply