Results 1 to 2 of 2

Thread: QFtp hidden files/folder's list

  1. #1
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QFtp hidden files/folder's list

    Dear all,

    I am using QFtp class for getting directory list from the FTP Server.

    The QFtp's list () function doesn't gives hidden files/folders.

    I need a list with hidden files.

    So I am using rawCommand () method for getting dir LIST.
    --> rawCommand ( "PASV" ) -----reply-------> 227 entering into passive mode ( ......)
    after calculating port value, I think I need to open a data connection for receiving folder list.
    can anyone help me with some code for opening data connection ?

    -->rawCommand ( "LIST -a" ) ----- no reply for this.

    Regards
    jay.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QFtp hidden files/folder's list

    Try checking which commands QFtp::list() sends.
    J-P Nurmi

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.