Transfer files from one server to other using FTP stage

This forum contains ProfileStage posts and now focuses at newer versions Infosphere Information Analyzer.

Moderators: chulett, rschirm

Post Reply
pandujoy
Participant
Posts: 70
Joined: Tue May 13, 2008 1:37 pm

Transfer files from one server to other using FTP stage

Post by pandujoy »

hi,

I am having a problem using FTP entraprise stage.

With in the stage i have used the URL- ftp://host/filepath and added the userid and password.

I ma getting the below error -

is not valid remote file.

not sure....when i using ftp from outside it works...infact its "sftp"....is there any diff. in sysntax for url from sftp n ftp..should we define any specific syntax for sftp

appreciate your help
pandujoy
Participant
Posts: 70
Joined: Tue May 13, 2008 1:37 pm

Post by pandujoy »

Let me be clear...

Can we achieve getting the files from SFTP server using FTP stage in Datastage 8.0.1
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Moderator, please move to the Enterprise forum.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Transfer files from one server to other using FTP stage

Post by chulett »

pandujoy wrote:...infact its "sftp"....is there any diff.
Yes, BIG "diff" and no the stage does not support secure ftp.
-craig

"You can never have too many knives" -- Logan Nine Fingers
pandujoy
Participant
Posts: 70
Joined: Tue May 13, 2008 1:37 pm

Post by pandujoy »

sorry for posting in the wrong forum...

is there a way to get files from the sftp server using datastage
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sure, have DataStage run a script that does the sftp or scp transfer. You will, however, need to set up the proper RSA keys between hosts so this will work in a 'secure' manner. Have that conversation your SysAdmin.
-craig

"You can never have too many knives" -- Logan Nine Fingers
pandujoy
Participant
Posts: 70
Joined: Tue May 13, 2008 1:37 pm

Post by pandujoy »

Thanks chulett for you reply.

Does it mean that i have to run the script in datastage as EXesh before.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ExecSH before job or Execute Command in a Sequence job or using DSExecute() in a Server routine or... many ways to skin that cat.
-craig

"You can never have too many knives" -- Logan Nine Fingers
pandujoy
Participant
Posts: 70
Joined: Tue May 13, 2008 1:37 pm

Post by pandujoy »

Thanks a lot chulett. I wrote a script and its running fine
Post Reply