Results 1 to 3 of 3

Thread: QFtp, QUrlInfo troubles

  1. #1
    Join Date
    Jan 2006
    Posts
    7
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Exclamation QFtp, QUrlInfo troubles

    Hello!
    I'm have some troubles with using this classes(QFtp and QUrlInfo) in Qt4 (Qt 4.1.0)
    In class QFtp in method parseDir...
    1.
    Not truly transform of ftp string buffer...for example strings
    Qt Code:
    1. -rw-r--r-- 1 ftp ftp 4 May 09 08:18 1 1 1.1
    To copy to clipboard, switch view to plain text mode 
    and
    Qt Code:
    1. -rw-r--r-- 1 ftp ftp 4 May 09 08:18 1 1 1.1
    To copy to clipboard, switch view to plain text mode 
    will be transform to equivalent string:
    Qt Code:
    1. -rw-r--r-- 1 ftp ftp 4 May 09 08:18 1 1 1.1
    To copy to clipboard, switch view to plain text mode 
    And as result - we will be lost info about file "1__1_1.1" (here '_' - space)
    Problem here (qftp.cpp, str. 436):
    QStringList lst = buffer.simplified().split(" ");

    2.
    Not correct big(>3.2 Gb) size write to QUrlInfo. problem here(qftp.cpp, str. 517)
    Not correct:
    info->setSize(tmp.toInt());
    M.b. correct:
    info->setSize(tmp.toLongLong());

    3.
    Not correct date write to QUrlInfo. problem here(qftp.cpp, str. 523)
    Not correct:
    lst[5] = lst[5].toUpper();
    M.b. correct if comment this string

    4.
    Other troubles that I see - it's problem in file size processing when downloading file... Not correct if file size >3.2 Gb (int)


    It's a bug? Where I can address with it?
    Thx.

    PS: sorry for my English..my native language is Russian

  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, QUrlInfo troubles

    Quote Originally Posted by IPFreely
    It's a bug? Where I can address with it?
    I took a quick look at 4.1.2 sources and same problems exist. I suggest you to inform Trolltech about these issues.
    Open a new task in Task Tracker.
    J-P Nurmi

  3. #3
    Join Date
    Jan 2006
    Posts
    7
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFtp, QUrlInfo troubles

    Quote Originally Posted by jpn
    I took a quick look at 4.1.2 sources and same problems exist. I suggest you to inform Trolltech about these issues.
    Open a new task in Task Tracker.
    Ok..but when I go by link I given f error on site
    ---
    UnicodeEncodeError
    'charmap' codec can't encode characters in position 0-4: character maps to
    2006/05/09 12:47:38.817 GMT+2
    ---
    Only I have this error?

    PS: sorry for my English..my native language is Russian

Similar Threads

  1. why the qftp failed in qmainwindow?where is its signal?
    By cxl2253 in forum Qt Programming
    Replies: 15
    Last Post: 22nd April 2007, 14:51

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.