Results 1 to 5 of 5

Thread: Ftp class for QT

  1. #1
    Join Date
    Jul 2010
    Posts
    2

    Default Ftp class for QT

    Is there a good simple ftp class which can be used to send a file or get a file from an ftp server?

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Ftp class for QT

    QFtp
    You have an example Ftp client in the Demos that come with Qt SDK

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Ftp class for QT

    Did you notice that Qt has an excellent documentation? See QFtp with its functions get() and put(). There is also an example called "FTP Example".

    EDIT: too late

  4. #4
    Join Date
    Jul 2010
    Posts
    2

    Default Re: Ftp class for QT

    Ok, im total noob! when i try to reference the assembly with

    Qt Code:
    1. #include <QFtp>
    To copy to clipboard, switch view to plain text mode 

    it says Qftp no such file or directory - this is underlining the include directive.

    Must I import some library from somewhere? sry for the noobs questions im more c#/java minded :S

  5. #5
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Ftp class for QT

    In your .pro file add this line:
    Qt Code:
    1. QT += network
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. accessing static member variables of one class in another class
    By jasonknight in forum General Programming
    Replies: 5
    Last Post: 6th September 2010, 14:53
  2. Abstract base class and inherited class members
    By JovianGhost in forum General Programming
    Replies: 3
    Last Post: 19th March 2010, 12:32
  3. Replies: 3
    Last Post: 27th December 2008, 19:34
  4. Replies: 3
    Last Post: 16th May 2007, 11:07
  5. Signal/slot looking in base class, not derived class
    By georgie in forum Qt Programming
    Replies: 2
    Last Post: 12th May 2006, 07:36

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.