Parameters not working for encryption type

Advertisement

JimGriffith
Joined:
Posts:
18

Parameters not working for encryption type

I'm trying to setup a script that specifies an explicit connection using port 21. If I use ftps in the session it tries to connect over 990. If I use ftp it tries to connect with no encryption. I've tried putting the parameters in multiple places with the same results.

script:

open ftps:user:pass@ftps.siteaddress.com /passive /explicitssl
option confirm off
option transfer binary
exit

Results: connects to 990 using implicit encryption

script:

open ftp:user:pass@ftps.siteaddress.com /passive /explicitssl
option confirm off
option transfer binary
exit

results: connection via port 21 with no encryption

I've tried putting in the command line in different places as well

winscp.exe /script=c:\script.txt /passive /explicitssl /log=c:\log.txt

winscp.exe /passive /explicitssl /script=c:\script.txt /log=c:\log.txt

winscp.exe /script=c:\script.txt /log=c:\log.txt /passive /explicitssl

It appears to be ignoring the passive and encryption parameters and relying strictly on the protocol for it's connection method. Any suggestions? Thanks!

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Parameters not working for encryption type

Sorry, not having enough time to read this carefully. What is this different to the problem we have already solved?

Reply with quote

Advertisement

You can post new topics in this forum