Page 1 of 1

Folder transfer from one server to another server windows

Posted: Tue Jun 30, 2009 10:16 pm
by basu.ds
Hi All,
Can any one help me on how to transfer a folder from datastage server to another windows server using DataStage.

Thank you very much in advance.

Posted: Tue Jun 30, 2009 10:37 pm
by chulett
A 'folder transfer', meaning a directory and all of the files it contains? Not an ETL task, but you could 'batch' it and then DataStage could run the batch file.

Posted: Tue Jun 30, 2009 10:41 pm
by ray.wurlod
Or you could use one of the recursive copy protocols, such as the XCOPY command.

Posted: Tue Jun 30, 2009 10:44 pm
by chulett
Across boxes? Thinking you'd need to zip/tar the folder, transfer that and then unzip/untar on the other side.

Posted: Tue Jun 30, 2009 10:48 pm
by ray.wurlod
Not a problem if you can mount the target folder on the source system, or can use UNC pathnames (and the "system" will let you).

Posted: Wed Jul 01, 2009 5:37 am
by chulett
True.