FTP hostname clarification

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
vamsi.4a6
Participant
Posts: 334
Joined: Sun Jan 22, 2012 7:06 am
Contact:

FTP hostname clarification

Post by vamsi.4a6 »

I am using FTP Enterprise stage for the first time to fetch the file from remote server. The file is present in UNIX server and I can see the file using cat command. Could any body help me find out the hostname and port to specify the URI property in FTP Enterprise stage?

expected syntax is ftp://hostname[:port]/URIpath


FTP Enterprise stage--->sequentialfile
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The port is optional (which is why it is in square brackets) and generally not needed. And the hostname is the name of the remote server your file resides on, the one where you say you can cat. If you're really not sure what that name is, run hostname from the UNIX command line.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply