Hello Meenakshi,
if your files are on different servers, then ideally you want to have Connect:Direct installed on both servers and let it do the file transfer over the network. This is what Connect:Direct is for.
------------------------------
Volker Friedrich
------------------------------
Original Message:
Sent: Tue August 29, 2023 08:31 AM
From: Meenakshi Shukla
Subject: File Transfer between two folders using CD server
Hello Volker
Thanks for the reply!
Forgot to mention, this is to move files from one network share folder to another network share folder.
------------------------------
Meenakshi Shukla
Original Message:
Sent: Mon August 28, 2023 05:01 AM
From: Volker Friedrich
Subject: File Transfer between two folders using CD server
Yes, you could submit a PNODE-SNODE process with a local RUN TASK step. In the RUN TASK step, issue a CMD(move ~"srcfile~" ~"destfile~") command to move the file, same as you would do on a CMD command line. The additional ~" at the begining and end of each file name will wrap it within double quotes, in case the file contains spaces.
Though, I would find it a bit odd to use CD for moving local files.
------------------------------
Volker Friedrich
Original Message:
Sent: Fri August 25, 2023 11:26 AM
From: Meenakshi Shukla
Subject: File Transfer between two folders using CD server
Can Connect direct move file from one folder to another?
Both these folders are mounted to this CD server.
We have to keep track of all the file movements between both these folders and hence we are considering Connect direct.
------------------------------
Meenakshi Shukla
------------------------------