Skip to main content
Solved

FTPCaller wont upload file with FTP

  • October 24, 2023
  • 5 replies
  • 384 views

so_much_more
Supporter
Forum|alt.badge.img+6

I try to upload a file with the FTPCaller with FTP. It works manually through windows browser, FileZilla and with WinSCP without problems.

But i cannot get it to work with FME. As far as I can tell the setting is correct.  The error message does not give me any information that can point me closer to the issue. 

What is the issue and how can I solve it?

Upload failed (at start/before it took off)

 

image

Best answer by so_much_more

I found a solution to my problem.

I took it for granted that URL was the destination folder on the target server. It is clearly stated in the FME documentation that URL must be a file. However that was not intuitive for me at since you select "File to Upload". That means that the URL must have a file as a target that yet dont exist.. Essentially you specific it twice, once in the url and once in the File To Upload param. I find that odd..

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.

5 replies

takashi
Celebrity
  • October 24, 2023

How about setting Passive to the Connection Mode parameter?


so_much_more
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • October 24, 2023

How about setting Passive to the Connection Mode parameter?

Thanks for your suggestion. I am afraid it also gave me the same error. I have been playing around setting proxy to none and tried different combinations without luck. I wish the error message would be more comprehensive than "Upload failed (at start/before it took off)", I am not sure how i can debug this.

 


evieatsafe
Safer
  • Safer
  • October 24, 2023

Hi @so_much_more​ FTP can sometimes be difficult to initially configure in FME. Usually the issues I encounter have to do with the FTP URL not set correctly (misspelt, wrong folder, etc.) or a permissions/authentication issue. If uploading doesn't seem to work, you could try the inverse of downloading a file as well to rule out authentication vs URL issues. If this is urgent, I may suggest submitting a support case with us so that we can have this resolved for you in a timely manner. Sorry for the inconvenience!


so_much_more
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • Best Answer
  • October 27, 2023

I found a solution to my problem.

I took it for granted that URL was the destination folder on the target server. It is clearly stated in the FME documentation that URL must be a file. However that was not intuitive for me at since you select "File to Upload". That means that the URL must have a file as a target that yet dont exist.. Essentially you specific it twice, once in the url and once in the File To Upload param. I find that odd..


so_much_more
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • October 27, 2023

Hi @so_much_more​ FTP can sometimes be difficult to initially configure in FME. Usually the issues I encounter have to do with the FTP URL not set correctly (misspelt, wrong folder, etc.) or a permissions/authentication issue. If uploading doesn't seem to work, you could try the inverse of downloading a file as well to rule out authentication vs URL issues. If this is urgent, I may suggest submitting a support case with us so that we can have this resolved for you in a timely manner. Sorry for the inconvenience!

Thanks for your reply. I found a solution - see my answer below