Results 1 to 4 of 4

Thread: Problem with QFtp

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Problem with QFtp

    Check the return values of the connect() statement and also check if you see a warning during runtime about connect failing.

    Cheers,
    _

  2. #2
    Join Date
    Mar 2015
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with QFtp

    Hello !

    Return value is a positive number, referring to a command id.
    Actually, x is 1, 2, 3, ....

    No errors or warnings are emmited.

    Regards, Michael

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Problem with QFtp

    Quote Originally Posted by schnudl View Post
    Return value is a positive number, referring to a command id.
    connect() returns a bool

    Quote Originally Posted by schnudl View Post
    No errors or warnings are emmited.
    Since you are on Windows (according to your profile), do you have
    Qt Code:
    1. CONFIG += console
    To copy to clipboard, switch view to plain text mode 
    in your .pro file?

    Is the declaration of your Ftp class in a header or in a source file? If in a header, is it listes in HEADERS in your .pro?

    Cheers,
    _

Similar Threads

  1. QFTP connection problem
    By c3po4 in forum Qt Programming
    Replies: 0
    Last Post: 12th January 2011, 20:54
  2. QFtp weird problem on windows
    By vcp in forum Qt Programming
    Replies: 0
    Last Post: 19th August 2009, 15:13
  3. problem with mkdir() in QFtp
    By fatima in forum Qt Programming
    Replies: 3
    Last Post: 20th July 2009, 23:35
  4. Problem with the put() function of QFtp class
    By whyisosad in forum Qt Programming
    Replies: 1
    Last Post: 20th March 2009, 10:03
  5. Replies: 0
    Last Post: 23rd September 2007, 11:54

Tags for this Thread

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.