Emma,
There is an FTP stage that comes with DataStage. I don't know if it's what you need or not.
Tony
How to write a FTP transfer in Basic
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 483
- Joined: Thu Jun 12, 2003 4:47 pm
- Location: St. Louis, Missouri USA
Emma
The easiest way is to automate in a shell script and execute the shell script.
Kim.
Kim Duke
DwNav - ETL Navigator
www.Duke-Consulting.com
The easiest way is to automate in a shell script and execute the shell script.
Kim.
Kim Duke
DwNav - ETL Navigator
www.Duke-Consulting.com
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It's pretty much impossible to do directly in BASIC because most FTP clients don't have an API that can be called from BASIC. Further, most FTP clients do not permit redirection of the password.
You could, of course, have your BASIC create a shell script containing all the contents needed for your FTP (using WriteSeq statements) then executed that (via DSExecute).
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
You could, of course, have your BASIC create a shell script containing all the contents needed for your FTP (using WriteSeq statements) then executed that (via DSExecute).
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518