PDA

View Full Version : Is there a class for shared folders?



reginaldt
14th August 2014, 03:47
Ftp have Qftp class, but is there a class for shared folders? like QSmbclient?

My goal is to transfer files in a shared folder (windows or linux setup).

My current methods:

1. Using QProcess: mount folder and paste the files (the path will be visible so I need to umount it after file is transfered).
2. Using QProcess: .sh file with smbclient command.

Is it possible to have just like in QFtp just use connectToHost() and put() functions?

If not is there are more efficient way of doing it?