SFTP error

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
kamesh_sk
Participant
Posts: 43
Joined: Fri May 27, 2005 7:58 am

SFTP error

Post by kamesh_sk »

Hello everyone.

Iam trying to SFTP a file to a remote location.My datstage job reads the file and send it to the FTP enterprise plug in and it should transfer the file to the remote location.I selected the option of SFTP in the ftp enterprise stage in the design.
The problem i get is the job runs succesfully, but it says x number of rows imported succesfully.Should it not say as exported succesfully as iam trying to SFTP the file outside to remote server.
Also in the remote server i dont find the data file anywhere.so clearly FTP has not happened.So what does the log says me.Why does it says imported succesfully. How do i SFTP a file using the FTP enterprise stage plug in.Can any one help me.
Thanks very much for your help
mk_ds09
Participant
Posts: 72
Joined: Sun Jan 25, 2009 4:50 pm
Location: Pune

Post by mk_ds09 »

1. Check your datastage director logs carefully.
The parameters which are used. Does it give any other messages.

2. Check number of records in the input file, whether the director says that number of records are imported successfully ?

3. Check the location in the remote server.
There may be case that you might not be looking in the right directory
or may be not on the right server.

Hope this helps !
-----------------------------------
Regards
MK

What would you attempt to do if you knew you could not fail?

-----------------------------------
kamesh_sk
Participant
Posts: 43
Joined: Fri May 27, 2005 7:58 am

Post by kamesh_sk »

Ok to make this more clear, the same ETL job is able to FTP a file to the remote server.
But when i select the SFTP option in the FTP plug in enterprise stage, the job fails. Is there any environment changes to be done or any FTP OR SFTP services to be installed/enabled
Thanks for the help
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

Hi,

This is what I found in the Parallel Job Developers Guide.

Before you can use SFTP to transfer files, you should configure the SSH connection without any pass phrase for RSA authentication.

Hope this information helps.

--Rich
kamesh_sk
Participant
Posts: 43
Joined: Fri May 27, 2005 7:58 am

Post by kamesh_sk »

Thanks for your reply.
SSH is for unix platforms ibelieve and for windows it must come with a pre installed one or with some other option .
Can anyone kindly help
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

No such thing as a pre-installed one. You can get an OpenSSH for Windows which is a free package that installs a minimal OpenSSH server and client utilities in the Cygwin package without needing the full Cygwin installation.
Post Reply