Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Hi,

Thanks a lot, it rocks :mrgreen:

Regards,
Onur
martin

Re: FileTransfer using WinSCP to/from Windows site which use FTP SSL(TLSv1)

Onur wrote:

Have you published any example powershell code for this please?

Use Generate Code function of the latest beta version:
https://winscp.net/eng/docs/ui_generateurl#code
Onur

FileTransfer using WinSCP to/from Windows site which use FTP SSL(TLSv1)

Hi,

Have you published any example powershell code for this please?

Regards,
Onur
martin

Re: Argument Exception

The .ppk file is not FTP TLS client client certificate, it's SSH/SFTP private key file. Use SessionOptions.SshPrivateKeyPath.
RobHeffo

Argument Exception

Hi, I am finally getting around to trying to use this code and am getting the following error...



The code I am using to create the session options is....




I can't see what is wrong here. The TLS Client Certificate is a PPK file, the host key is copied from WinSCP

Any suggestions?
martin

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Sujeet wrote:

Could you please help me with my another query, is there any way to pass/attach certificate by object and not by path.

No, this is not supported.
Sujeet

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Sujeet wrote:

Thanks prikryl, but I am not able to find given property "TlsClientCertificatePath" with WinSCP576automation.

However is there any way to attach certificate directly as we don't have path of certificate with us, we have to pick installed cert by its name provided from machine. We do attach the same to web reference like "WebServRef.ClientCertificates.Add(cert)" where cert is the X509Certificate object.

Could you please help us for this.

Thanks.


My Bad...
Found given property in WinSCP 5.8 Beta.

Could you please help me with my another query, is there any way to pass/attach certificate by object and not by path.
Sujeet

Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Thanks prikryl, but I am not able to find given property "TlsClientCertificatePath" with WinSCP576automation.

However is there any way to attach certificate directly as we don't have path of certificate with us, we have to pick installed cert by its name provided from machine. We do attach the same to web reference like "WebServRef.ClientCertificates.Add(cert)" where cert is the X509Certificate object.

Could you please help us for this.

Thanks.
martin

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Sujeet wrote:

Do you have any sample code with you for how to attach the certificate with WinSCP session.

Use SessionOptions.TlsClientCertificatePath.

The property will be documented shortly on:
https://winscp.net/eng/docs/library_sessionoptions
Sujeet

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

martin wrote:

Sujeet wrote:

We want to attach client certificate with WinSCP for file uploading because client network do not allow anything to go out without that client certificate.

Could you please help us or let us know if you have released the newer version of WinSCP which supports client certificate.

Please download WinSCP 5.8 beta
https://winscp.net/eng/download.php


Thanks prikryl.

Do you have any sample code with you for how to attach the certificate with WinSCP session.
martin

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Sujeet wrote:

We want to attach client certificate with WinSCP for file uploading because client network do not allow anything to go out without that client certificate.

Could you please help us or let us know if you have released the newer version of WinSCP which supports client certificate.

Please download WinSCP 5.8 beta
https://winscp.net/eng/download.php
Sujeet

Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Hi prikryl,

We want to attach client certificate with WinSCP for file uploading because client network do not allow anything to go out without that client certificate.

Could you please help us or let us know if you have released the newer version of WinSCP which supports client certificate.

Thanks,
Sujeet
martin

Sent.
finist

Could you kindly send me a copy of the DEV build with Certificate support too?
Thanks!
martin

Re: Dev Build Request

Sent.
RobHeffo

Re: Dev Build Request

RobHeffo wrote:

Hello,

May I also please request a copy of the DEV build with Certificate support. I also have a requirement for this feature.

Thanks!
Robert Heffernan


Sorry! Forgot to login!
RobHeffo

Dev Build Request

Hello,

May I also please request a copy of the DEV build with Certificate support. I also have a requirement for this feature.

Thanks!
Robert Heffernan
martin

Re: install client cert?

robertb wrote:

Have the same issue. Please help.

It was not released yet. I've sent you a dev build.
robertb

Re: install client cert?

EF wrote:

Communicating over ftps with a bank - they require ftps with username and password, plus require installing a x509 cert on the client (they provide this cert). Can't find anywhere in WinSCP to install certs or assign cert for use with a specific ftp site. Is this possible?


Have the same issue. Please help.
robertb

Need to connect to FTPS with certificate as well

Is this available yet?
martin

astronaute wrote:

Can you please give me the development build, I would like to get rid of Bitkinex :)

Sent.
astronaute

Hi prikryl,

Can you please give me the development build, I would like to get rid of Bitkinex :)

Thank you !
martin

Sorry, we do not give any dates. It will take a few weeks definitely.

We can provide you a development build for testing, if you are interested.
ftpuser

When will this functionality be released as I see from the bug tracker it is implemented and in release 5.8
EF

install client cert?

Communicating over ftps with a bank - they require ftps with username and password, plus require installing a x509 cert on the client (they provide this cert). Can't find anywhere in WinSCP to install certs or assign cert for use with a specific ftp site. Is this possible?