Regarding FTP Process

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
vinodhraj
Participant
Posts: 53
Joined: Mon Sep 12, 2005 6:51 am

Regarding FTP Process

Post by vinodhraj »

Hi,

I need to transfer sequenctial file from unix platform to windows.

Job: sequential file stage -> FTP Stage. Which is right or wrong???

For FTP Stage, what are all the properties i need to set??
Server Name: ????
User:
PWD:
Remote Path:
File Name:
Tell me with example, specifically what will be the values for the above properties?? Is there any other properties need to set??

Thanks for advance replay.

With Regards,
Raj
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Those five parameters ought to be straightforward. Read man ftp on your UNIX machine to get some feel for how FTP works.

Server Name: name (or IP address) of the Windows machine - it must be configured to accept inbound FTP on port number 21

User: Windows login ID

PWD: Windows password

Remote Path: Folder (on the Windows machine) where you want to send the file

File Name: Name of file to be transferred
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
meg_kamath
Participant
Posts: 11
Joined: Mon Mar 13, 2006 5:17 am
Location: Bangalore
Contact:

Post by meg_kamath »

Hi,

Example : Consider u have a file demo.txt to be taken to another server by name :dsfgna and to a location XYZ ...and username/password = meghana/**** for the dsfgna server...the parameters that u have mentioned wuld take the following values -

Server Name: dsfgna
User: meghana
PWD: ****
Remote Path: XYZ
File Name: demo.txt


Hope this might help u out......

thnx,
meghana
rleishman
Premium Member
Premium Member
Posts: 252
Joined: Mon Sep 19, 2005 10:28 pm
Location: Melbourne, Australia
Contact:

Post by rleishman »

Also worth noting that a lot of Windows servers may not be running an FTP Listener. To make sure you CAN do it, at the Unix prompt, type
ftp <servername>
and see if it asks you to log in. If not, speak to the administrator of the Windows box.
Ross Leishman
Post Reply