Skip to main content
Question

SystemCaller used for coreFTP upload not working correctly

  • March 22, 2018
  • 1 reply
  • 30 views

Hello,

I am trying to run a simple FTP Upload operation by calling coreFTP using SystemCaller.

This is the command I am using:

"C:\\Program Files\\CoreFTP\\Coreftp.exe" -s ftp://TESTUSER:TEST_PASS44@pvftp.ftpsite.ca -u 'C:\\Users\\User1\\Desktop\\testupload.txt' -log C:\\Users\\User1\\Desktop\\temp.log

This works fine in command prompt but I can't run the same code using systemCaller. I keep getting an error that says that the file is not found. What am I doing wrong here? Any help will be appreciated. Thanks!

Edit: I did a few tests and found out that if I take the single or double quotes off the name of the upload file, it works in SystemCaller. But that fails for file paths that have spaces in them. Trying to put % instead of spaces (I found that as a suggestion) does not resolve the issue. Any thoughts? Thanks

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

  • Author
  • 62 replies
  • March 22, 2018

Found solution buried in this document.

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/systemcaller.htm?Highlight=system

Double quote the path name and then double quote the whole command

Thanks everyone