[Extension FtpWebRequest] Error: The system cannot find the path specified.

Forge Component
(5)
Published on 2019-04-22 by Maycon Oleczinski
5 votes
Published on 2019-04-22 by Maycon Oleczinski

Hi,

I can't connect to a FTP server with this component, because of following error:

"The system cannot find the path specified." (see printscreen).

I'm trying to connect with SSL (FTPS) checked.

If I try it without SSL, I get the following error:

"The remote server returned an error: (534) 534 Policy requires SSL. ."

If I use the same configuration in FileZilla it works (default it uses SSL).

Does someone know a solution for this?

Kind regards,
Joran van Heyningen

Hi!


Have you checked if the target machine has any access restrictions? 

For example, you may be accepting IP requests from your computer (via filezilla) and not from your app outsystems server.I hope it helps!

Hi Alexandre,

I forgot to mention, but the target machine has specifically given access to the OutSystems server.

When we did the same for my computer it works with FileZilla.

So this can't be the cause of it.

Any other suggestions?

Kind regards,
Joran

Hi Joran,

Since something similar happened to me this week and that's how we got it resolved, I thought this might have a solution for you too!

Maybe this extension doesn't support the same options configured in the server (and Filezilla supports). You could change/remove/lower the requirement at the server end but is it works or is worthy?

Sorry, it's not really my specialty and maybe I'm talking nonsense, so I hope someone can give you a better answer.

Solution

I found the solution for this error and created a new version of the following component:

https://www.outsystems.com/forge/component-versions/4993

See version 1.2.0 for OutSystems 10.

In this version it is possible to set encryption mode to 'explicit', which solved the issue in my case.

This could easily be used for OutSystems 11 as well.

Kind regards,
Joran van Heyningen

Solution