Skip to main content
Question

SystemCaller error


ienesaglam60
Contributor
Forum|alt.badge.img+3

I have one line command. This command works manually in cmd command windows. When I try with fme systemcaller it does not work. What could be the problem? Fme version 2021.1.1.0 build 21619

example:

xcopy "@Value(png_source)" "@Value(png_dest)*"

xcopy "C:\\gml\\F-12696263-A.png" "C:\\gml\\gml\\F-23-A.png*"

7 replies

ienesaglam60
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • March 20, 2022

@Hans van der Maarel​ 

 


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • March 20, 2022

Hi @ienesaglam60​ 

 

I recreated your case here and it was worked.

Workspace_SystemCaller 

As you can see on image bellow, the transformer AttributeManager I created the map of Source and Destination.

Map 

The transformer SystemCaller worked fine to paste the image to destination folder.

 

Thanks in Advance,

Danilo

 

 


ienesaglam60
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • March 21, 2022
danilo_fme wrote:

Hi @ienesaglam60​ 

 

I recreated your case here and it was worked.

Workspace_SystemCaller 

As you can see on image bellow, the transformer AttributeManager I created the map of Source and Destination.

Map 

The transformer SystemCaller worked fine to paste the image to destination folder.

 

Thanks in Advance,

Danilo

 

 

The destination path also contains the filename. Currently this is not working. What should I do?

 


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • March 21, 2022
ienesaglam60 wrote:

The destination path also contains the filename. Currently this is not working. What should I do?

 

Ok.

 

It just use:

copy "@Value(png_source)*" "@Value(png_dest)*"


ienesaglam60
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • March 21, 2022
ienesaglam60 wrote:

The destination path also contains the filename. Currently this is not working. What should I do?

 

Don't work . the log file

SystemCaller_3: Executing `xcopy "C:\\Users\\Enes Sağlam\\Desktop\\F-12696263-A\\GML\\F-12696263-A.png" "C:\\Users\\Enes Sağlam\\Desktop\\F-21444629-A\\GML\\F-21444629-A.png*"'

File not found - F-12696263-A.png

0 File(s) copied

SystemCaller_3: Failed to Execute `xcopy "C:\\Users\\Enes Sağlam\\Desktop\\F-12696263-A\\GML\\F-12696263-A.png" "C:\\Users\\Enes Sağlam\\Desktop\\F-21444629-A\\GML\\F-21444629-A.png*"'


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • March 21, 2022
ienesaglam60 wrote:

The destination path also contains the filename. Currently this is not working. What should I do?

 

Please, elimine X. Let it just copy

 

Exeample:

copy "@Value(png_source)*" "@Value(png_dest)*"


ienesaglam60
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • March 24, 2022
ienesaglam60 wrote:

The destination path also contains the filename. Currently this is not working. What should I do?

 

It doesn't work.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings