Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FTPS with Indy/Delphi to connect with special Visa FTPS server
#5
Hi rlebeau,

thanks for all your help.

Finally I made some additional changes:

1. I created a separate "ShutDownSSL" procedure, the same was as Indy has a "StartSSL"procedure, and I call explicitly this new procedure after issuing the "CCC" command.
2. I created a separate procedure to issue the CCC ("SendCCC") and removed this part from "SendDataSettings".

This specific VISA server does not accept the original sequence of commands in "SendDataSettings": SendPBSZ -> SendPROT -> CCC
And I think it may have right. PBSZ and PROT should/could be set before login, CCC can be issued only after login, because sending userid and pwd in clear command channel is usually not acceptable.
So, before login I call SendDataSettings, after login I call SendCCC, that sets PassThrough := True and calls ShutDownSSL.

Maybe my changes are not generally appliable, but for my specific situation this is what is required.

Thanks again

Tibor
Reply


Messages In This Thread
RE: FTPS with Indy/Delphi to connect with special Visa FTPS server - by PeakTibor - 08-26-2019, 06:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)