Results 1 to 11 of 11

Thread: QFtp...doesnt seems to work ....!!!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Finland /Pakistan
    Posts
    216
    Thanks
    20
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QFtp...doesnt seems to work ....!!!

    yup,u r rite,the execution is not proper ....but i think thr is problem in code,m nt sure if QFtp is used properly in the code....
    i cannt undestand what u mean by monitoring traffic..?...nd can u tell me a reliable site....which if provided downloads a file from it...

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QFtp...doesnt seems to work ....!!!

    Quote Originally Posted by salmanmanekia View Post
    yup,u r rite,the execution is not proper ....but i think thr is problem in code,m nt sure if QFtp is used properly in the code....
    Please use proper sentences instead of that awful sms slang.

    i cannt undestand what u mean by monitoring traffic..?
    I mean see what goes through your network interface card. There are many networking sniffer tools that do this - just search the net.

  3. #3
    Join Date
    Jan 2008
    Location
    Finland /Pakistan
    Posts
    216
    Thanks
    20
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QFtp...doesnt seems to work ....!!!

    Thanks for the advice...
    I am not sure about network sniffer,is it realy necessary and dont you see any problem with the code....what i understand is that if code is fine then it should work and vice versa....aint it...!!

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QFtp...doesnt seems to work ....!!!

    Quote Originally Posted by salmanmanekia View Post
    I am not sure about network sniffer,is it realy necessary
    No, it's not necessary - you can go for the other approach I suggested. But the sniffer will show you what exactly happens during the connection (and if there is a connection at all). To monitor the state of the object you'll need to write some debugging code and deduce the problem from received output.

    dont you see any problem with the code...
    I don't see anything obvious.

    what i understand is that if code is fine then it should work and vice versa
    Then you understand incorrectly. The code might be fine but for example your personal firewall might be blocking the connection.

  5. #5
    Join Date
    Jan 2008
    Location
    Finland /Pakistan
    Posts
    216
    Thanks
    20
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QFtp...doesnt seems to work ....!!!

    Worked the Program with Network sniffer,it doesnt detect any Incoming /Outgoing FTP packets,but the firewall i have installed asks me for the connection to be established when i run the program.....the firewall is of panda.....just for the sake of confirmation the address which i provide in FTP address bar is "ftp.trolltech.com"....is this right...??

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QFtp...doesnt seems to work ....!!!

    Quote Originally Posted by salmanmanekia View Post
    Worked the Program with Network sniffer,it doesnt detect any Incoming /Outgoing FTP packets
    How about any packets going to ftp.trolltech.com? Can you connect to ftp.trolltech.com using your regular ftp client? Does the sniffer report the traffic on ftp ports then?

  7. #7
    Join Date
    Jan 2008
    Location
    Finland /Pakistan
    Posts
    216
    Thanks
    20
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QFtp...doesnt seems to work ....!!!

    Can you connect to ftp.trolltech.com using your regular ftp client?
    Yup,the ftp address works fine.

Similar Threads

  1. QActions don't work with menubar hidden
    By Pepe in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2007, 01:04
  2. QFtp Trouble !
    By Fastman in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2007, 12:08
  3. Change work area OS
    By pakulo in forum Qt Programming
    Replies: 15
    Last Post: 15th May 2007, 07:20
  4. why the qftp failed in qmainwindow?where is its signal?
    By cxl2253 in forum Qt Programming
    Replies: 15
    Last Post: 22nd April 2007, 13:51
  5. Sending Binary File with QFTP
    By nbkhwjm in forum Newbie
    Replies: 2
    Last Post: 7th March 2007, 18:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.