Instead of QFtp
in Qt4.8.2 I am now in the process of porting to QNetworkAccessManager
in Qt5.2.1 etc.
I have the following questions:
Is it possible to port
QFtp::rawCommand("SITE UMASK 22");
to a solution based onQNetworkAccessManager
?How do I specify transfer type using
QNetworkAccessManager
? InQFtp
it is specified as an argument in e.g. intQFtp::put(QIODevice* dev,const QString& file,TransferType type = Binary)
?- Is it possible to port
int QFtp::rename(const QString & oldname,const QString & newname)
toQNetworkAccessManager
?
Looking at Qt code to get list of files from ftp server using QNetworkAccessManager question on Qt 5.0, makes me think that I need to install the compatibility libraries to make the migration.