Discussion:
Secure ftp
MOHAMED MOUHIB
2009-05-06 17:15:15 UTC
Permalink
Hey everybody !!

I need your ideas about using secure ftp in QT creator library : Qftp.
how to implement SSL to deal with this communication, if it's possible ??!!
What should I add to the demo ftp client provided in QT to have secure
echange ?

In fact, my aim behind the project is to ensure a secure file exchange
between two hosts using QT 4.5.

Thnx friends.
Ernst Huber
2009-05-06 18:33:19 UTC
Permalink
Post by MOHAMED MOUHIB
Hey everybody !!
I need your ideas about using secure ftp in QT creator library : Qftp.
how to implement SSL to deal with this communication, if it's possible ??!!
What should I add to the demo ftp client provided in QT to have
secure echange ?
In fact, my aim behind the project is to ensure a secure file exchange
between two hosts using QT 4.5.
Thnx friends.
------------------------------------------------------------------------
_______________________________________________
Qt-creator mailing list
http://lists.trolltech.com/mailman/listinfo/qt-creator
Hi Mohamed

Maybe this article from Trolltech Labs help:

http://labs.trolltech.com/blogs/2007/03/26/ssl-with-5-lines-of-code/

Regards
Ernst
MOHAMED MOUHIB
2009-05-06 21:26:31 UTC
Permalink
Thank you Ernst for the link.

QSslSocket socket;
socket.connectToHostEncrypted("host", 443);

But is this sufficient to have a secure connection ?? Especialy when we talk
about an exchange of files (XML files for example).
I mean, in my case i wanna create a secure client/server connection in order
to exchange XML files. So my question is about using a ftp client in
addition to SSL security; is this possible??
If it is possible in which way can use QSslSocket merged with Qftp?

Thnk you very much for your help
Ernst Huber
2009-05-07 20:36:40 UTC
Permalink
Post by MOHAMED MOUHIB
Thank you Ernst for the link.
QSslSocket socket;
socket.connectToHostEncrypted("host", 443);
But is this sufficient to have a secure connection ?? Especialy when
we talk about an exchange of files (XML files for example).
I mean, in my case i wanna create a secure client/server connection in
order to exchange XML files. So my question is about using a ftp
client in addition to SSL security; is this possible??
If it is possible in which way can use QSslSocket merged with Qftp?
Thnk you very much for your help
------------------------------------------------------------------------
_______________________________________________
Qt-creator mailing list
http://lists.trolltech.com/mailman/listinfo/qt-creator
Hi Mohamed

Unfortunately I'm not an expert in this topic, never wrote a Qt program
for this purpose. Just thought to give you a hint where to find related
infos. "Googling" the Internet yields many results from where to start,
for example

http://www.sslftp.com/

I wish you good luck with the project!
Ernst
MOHAMED MOUHIB
2009-05-08 09:38:00 UTC
Permalink
Thank you very much for your nice reply.

I'll check out the link :)

Have a nice day!

Continue reading on narkive:
Loading...