Skip to main content
Question

Copy files from one server to another.

  • Jan 17, 2025 10:38 AM UTC
  • 3 replies
  • 173 views

poonam21
Contributor
Forum|alt.badge.img+8

Hello Forum,

I am currently working on a task that involves copying files from a source server (Server 1) to a destination server (Server 2). I am new to FME and am unsure how to approach this.

Could this process be achieved using an FME transformer, or would it require writing a Python script? I would greatly appreciate any guidance or suggestions on where to begin.

Thank you in advance for your support!

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+67

One way to do this is to use the FileCopyWriter.

A different approach would be to use a SystemCaller with dos commands like

copy C:\temp\a\test.txt C:\temp\b\

poonam21
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • Jan 17, 2025 10:52 AM UTC

Hey ​@nielsgerrits 

Thanks for the reply.

 

Using FileCopyWriter, would that be possible for different servers?


nielsgerrits
VIP
Forum|alt.badge.img+67

UNC paths are supported, so as long FME can reach these locations via UNC paths, yes.