[Qt-interest] Ftp client problem : how to get event related to network connection is down ?
Ashish Soni
asoni at mvista.com
Sat Dec 18 13:01:20 CET 2010
Hi All,
I have used void
*stateChanged<http://doc.qt.nokia.com/stable/qftp.html#stateChanged>
* ( int *state* ) signal but
still I am not getting any notification regarding nework has down or
something like this.
Regards,
Ashish
On Sat, Dec 18, 2010 at 5:24 PM, Luiz Vitor Martinez Cardoso <
grabber at gmail.com> wrote:
> Ashish,
>
> You need to use the SIGNALS()!
>
> Please see this at: http://doc.qt.nokia.com/stable/qftp.html#State-enum
>
> and
>
> http://doc.qt.nokia.com/stable/qftp.html#stateChanged
>
> []`s
>
> On Sat, Dec 18, 2010 at 7:25 AM, Ashish Soni <asoni at mvista.com> wrote:
>
>> Hi All,
>>
>> I am am trying to implement FTPClient in using QT Network .
>>
>> How can i handle exceptional cases like during downloading network cable
>> is unplugged , not internet connection gone etc.. ?
>>
>> How can my FTPClient can come to know about such event and is there such
>> kind of notification available ?
>>
>> I have tried to use signals like done(bool) , commandFinished ( int id,
>> bool error ) but i m not getting any sort of signal.
>>
>>
>> Regards,
>>
>> Ashish Soni
>>
>>
>>
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at qt.nokia.com
>> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>>
>>
>
>
> --
> Regards,
>
> Luiz Vitor Martinez Cardoso
> cel.: (11) 8187-8662
> engineer student at maua.br
> entrepreneur at geeksys.com.br
>
> "If you wanna be successful, you need total dedication, go for your last
> limit, give your best and love your love infinitely!"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101218/dec22b12/attachment.html
More information about the Qt-interest-old
mailing list