Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 10

Qt-interest Archive, March 2002
QUrlOperator::get() - again (sorry)


Message 1 in thread

No1 answered my question last time, I thought it was because
not precise question.

In doc we have very nice example:
 For most other operations, the path of the QUrlOperator must point to a 
directory. If you want to download a file you could do the following:

QUrlOperator op( "ftp://ftp.whatever.org/pub"; );
  // do some other stuff like op.listChildren() or op.mkdir( "new_dir" )
  op.get( "a_file.txt" );
  
Where can I find "a_file.txt"'s content now? QNetworkOperation's doc
is not very friendly in this case, so is QUrlOperator.

-- 
 [ signature omitted ]