Welcome! Log In Create A New Profile

Advanced

FTPS

Posted by ntnati 
FTPS
July 06, 2019 05:36PM
Hi ,

I have been trying for some time to connect to an FTPS server.
Has anybody connected with this type of server?

I am now trying the demo WD FTP and even there I cannot cannot with the paramaters available.
WinSCP and TotalComander work fine with the same paramaters.

Any help appreciated.

Regards
Noel
Re: FTPS
July 06, 2019 05:47PM
Hi Noel,

just an example:

IF OldSystem = 1 THEN
FTP.IgnoreError = ftpIgnoreInvalidCertificate + ftpIgnoreExpiredCertificate + ftpIgnoreInvalidCertificateName + ftpIgnoreRevocation
ConnectNumber = FTPConnect("ftps://"+NoSpace(IPMailboxSystem),NoSpace(UserMailboxSystem),NoSpace(PWMailboxSystem), 990, True, 20)
ELSE
FTP.IgnoreError = ftpIgnoreInvalidCertificate + ftpIgnoreExpiredCertificate + ftpIgnoreInvalidCertificateName + ftpIgnoreRevocation
ConnectNumber = FTPConnect("["+NoSpace(IPMailboxSystem),NoSpace(UserMailboxSystem),NoSpace(PWMailboxSystem]), 21,ftpPassiveMode, 20)
END

Kind regards,
Guenter Predl
office@windev.at
Re: FTPS
July 07, 2019 08:35AM
Hi Guenter

thanks for the snippet.

It is not working for me either.
With the same parameters I login with winscp etc but not with windev.
I get a the below error
==============================================================================
Failure connecting to the FTP "IP address" server on port 990 with the user name "User Login".

System Error Details: The timeout period has expired.
Failure connecting to the FTP "IP Address" server on port 990 with the user name "fexservusr_prod".

System Error Details: The timeout period has expired.

===============================================================================

Will have to speak wit hthe FTPS provider.

Thanks
Noel
Re: FTPS
July 07, 2019 09:01AM
Hi Noel,

the key to success is the FTP.IgnoreError variable.

Kind regards,
Guenter Predl
office@windev.at
Re: FTPS
July 07, 2019 05:02PM
What version of WD are you talking about?
If I remember correctly I could not get it to work with V21 either, but no problems in V22 and beyond (could also be V23, my memory is not that good…)

Arie
Re: FTPS
July 08, 2019 12:54PM
I am using wd 24 and as Guenter suggested added the FTP.ignoreerror

still no joy in connecting.

I am now thinking it might be some sort of setup on the server-side which is not 'normal'

Thanks
Regards
Noel
tbh
Re: FTPS
July 11, 2019 12:30PM
Hi

I`ve been connecting to FTP servers since version 17(I think) with Windev. .

Some FTP servers runs however on Secure connections, and there might be restrictions in the MS UAC?.

1. Try to run your test program "As administrator"
2. Try another FTP Server,

Have to get back to work again, but FTP is usually a "piece of cake"

Cheers
Tor-Bjarne
Re: FTPS
July 11, 2019 02:21PM
Hi

the only problem is with ftps.
Normal ftp and sftp are ok.
Not sure why but will keep investigating.
Thanks

Regards
Noel
pao
Re: FTPS
July 11, 2019 02:57PM
Did you try with FTPES (explicit) instead of FTPS (implicit)?

You server suports passive or active connections?


Did you try the FTPParameter(ftpParameterMode, 1) before the connection?

Regards

Paulo Oliveira
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: