Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8319

Re: Secure FTP or SFTP support in VO

From "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl>
Newsgroups comp.lang.clipper.visual-objects
References (1 earlier) <d1e6ufFpqi6U1@mid.individual.net> <mp4isp$el4$1@dont-email.me> <3ddcfeca-eede-448a-bca7-323f00259335@googlegroups.com> <mp9v9n$ca0$1@dont-email.me> <11919010-a31e-4ca9-be6a-e895bab1877e@googlegroups.com>
Subject Re: Secure FTP or SFTP support in VO
Message-ID <QGXvx.451925$8B.92624@fe13.am1> (permalink)
Organization Sunny Usenet
Date 2015-08-04 07:01 +0200

Show all headers | View raw


Major Thanx!
Grtz, Marc

"Philippe Bayard (Belgium)"  schreef in bericht 
news:11919010-a31e-4ca9-be6a-e895bab1877e@googlegroups.com...

Here a shared folder : 
https://owncloud.webless.be/index.php/s/BsWDgKRh3bJGxlb

You have the c# class and an VO App library (which include the Json Parser 
found on this newsgroup). You must get the WinSCP.exe et WinSCP.dll (which 
seems to call WinSCPNet.dll now) from the website. This class used an old 
version of WinSCP, i think that sessionOptions.SslHostCertificateFingerprint 
doesn't exists anymore also.

Check the readme ( in french, sorry for this ) for more detail. You got a 
ftps demo in WFTP Unitary test, but the sftp version must be a small 
difference.

Setting mode to stfp and adapt the key to "ssh-rsa 2048 
xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" should do the trick.

Check https://winscp.net/eng/docs/library#csharp for a c#sample ;)

You must just maybe remove the debug part i used ( if SysObject():cUsername 
== "DEBUG"  ) to avoid some errors ;)

There may be some mistake but i just use this class to upload zip files to 
our server sometimes but it's a basis anyway.

Best regards,
Philippe

Le mercredi 29 juillet 2015 09:29:26 UTC+2, Dirk (Belgium) a écrit :
> Hi Philippe,
>
> I'm also interested in this sources.
> Any possibility to have a copy?
>
> Dirk
>
> ========================================
>
> Philippe Bayard (Belgium) wrote:
>
> > Dear Dirk,
> >
> > I did it with WinSCP ( https://winscp.net/eng/docs/library ).
> > With an interface in .NET, then use it in VO through a wrapper.
> >
> > Works really nice in sftp, ftps, ... ;)
> >
> > Best regards,
> > Philippe
> >
> > Le lundi 27 juillet 2015 08:27:03 UTC+2, Dirk (Belgium) a écrit :
> > > Hi Wolfgang,
> > >
> > > Tanks for your reply.
> > > I think I gonna try to use FTPS (FTP over SSL connection).
> > > I have a SSL class, so manupulating the standard FTP to use the SSL
> > > socket cannot be so difficult.
> > >
> > > Thanks for sharing your ideas.
> > >
> > > Dirk
> > >
> > > =================================
> > >
> > > Wolfgang Riedmann wrote:
> > >
> > > > Hi Dirk,
> > > >
> > > > > I suppose that this question is already asked many times, but I
> > > > > have to ask it again:
> > > > >
> > > > > Has someone a SFTP-class for VO?
> > > > > Or how to implement the secure property of a FTP connection?
> > > >
> > > > AFAIK there is nothing.
> > > >
> > > > VO's Internet classes are using the WinInet functionality of the
> > > > Windows API, and there is nothing about SFTP.
> > > >
> > > > You need to look for a 3rd party tool, or maybe better, to look
> > > > if is possible with Vulcan.NET, and create your own component to
> > > > use from VO.
> > > >
> > > > There is someone using such things for secure POP3/SMTP access
> > > > and to workaround about some glitches in VOs SMTP classes.
> > > >
> > > > Wolfgang
> > >
> > >
> > >
> > > --
>
>
>
> --

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Secure FTP or SFTP support in VO "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2015-07-24 06:23 +0000
  Re: Secure FTP or SFTP support in VO "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-07-24 09:14 +0200
    Re: Secure FTP or SFTP support in VO "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2015-07-27 06:25 +0000
      Re: Secure FTP or SFTP support in VO "Philippe Bayard (Belgium)" <philbayard@gmail.com> - 2015-07-28 03:35 -0700
        Re: Secure FTP or SFTP support in VO "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-07-28 18:16 +0200
        Re: Secure FTP or SFTP support in VO "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2015-07-29 07:27 +0000
          Re: Secure FTP or SFTP support in VO "Philippe Bayard (Belgium)" <philbayard@gmail.com> - 2015-07-29 02:10 -0700
            Re: Secure FTP or SFTP support in VO "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2015-07-29 16:42 +0200
            Re: Secure FTP or SFTP support in VO "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-08-04 07:01 +0200
            Re: Secure FTP or SFTP support in VO "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2015-08-04 07:12 +0000

csiph-web