| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Hi qter..
If i trying to download any ftpserver- proftpd- using
QUrlOperator and copy() method, then the program stop during reading
welcome.msg contained ###(hash ) .
the source code is
#include <qapplication.h>
#include <qnetwork.h>
#include <qurloperator.h>
int main (int argc, char ** argv )
{
QApplication a(argc, argv);
qInitNetworkProtocols();
QUrloperator temp("/tmp");
QObject::connect( &temp, SIGNAL(finished(QNetworkOperation* ) ),
&app, SLOT(quit() ) );
temp.copy(QString("ftp://localhost/pub/some.txt"), temp, FALSE);
return a.exec();
}
and my local ftp server have welcome.msg contain
--------message --------
###################
# Welcome
###################
-------end ---------------
and attached strace result about this program.
gcc 2.96
qt 3.0.4 and qt 3.0.5 version
Thanks.
Attachment:
strace_M
Description: Binary data