Skip to main content
Question

Copy files from one server to another.

  • January 17, 2025
  • 3 replies
  • 91 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+60
  • 2940 replies
  • January 17, 2025

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
  • 7 replies
  • January 17, 2025

Hey ​@nielsgerrits 

Thanks for the reply.

 

Using FileCopyWriter, would that be possible for different servers?


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2940 replies
  • January 17, 2025

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