FTP XML File to
Moderators: chulett, rschirm, roy
FTP XML File to
I want to FTP two xml files created by datastage jobs to remote server. Never done before ftp. Any suggestions.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Short but correct, regardless. You'll need to 'script' the ftp of the two files to your remote server. If you don't know anything about ftp, is there someone there where you work who does and would be willing to write the required batch file for you? Or try to Google up some examples. Manual FTP is pretty straight-forward and something you could learn on your own rather easily, it's the scripting part that seems to throw people.
You can get some samples of the 'here document' style one would use on a UNIX server to do the same task by searching the forums here, unfortunately I'm unsure how one would do the same in a Windows batch file.![Sad :(](./images/smilies/icon_sad.gif)
You can get some samples of the 'here document' style one would use on a UNIX server to do the same task by searching the forums here, unfortunately I'm unsure how one would do the same in a Windows batch file.
![Sad :(](./images/smilies/icon_sad.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Ray said 'FTP' not 'the FTP Stage'. You'll find the stage problematic for things like XML files as the stage is metadata driven and will want to transfer the files one 'record' at a time. While you may be able to get it to work if you haven't formatted the XML output, you're better off learning and using command line ftp for this.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers