I do not think that this can work.  SFTP is not just encrypted FTP traffic, but an entirely different protocol.
 
Justin


From: aaa aaa [mailto:miamia@inMail.sk]
Sent: Friday, January 16, 2009 7:58 AM
To: stunnel-users@mirt.net
Subject: ftp to sftp
 

Hello,

I am using last edition of stunnel. I would like to use my favourite ftp client and connect to sftp. But my ftp clinet don't allow this so I would like to use stunnel if possible. How should I configure stunnel to do this (ports etc.)? I am a newbie with stunnel but I am using it for sending email for several weeks and everything works well. So I hope it is possible to use it for sftp too.

Any help much appreciated.

thanks in advance.
----------