Review Request 116524: Make kio_ftp work with ftp server that don't support absolute path with SIZE command
Dawit Alemayehu
adawit at kde.org
Sun Mar 2 00:14:49 GMT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116524/#review51562
-----------------------------------------------------------
I am curious if stripping the leading "/" and sending a relative path with the SIZE command would work for every FTP server?
- Dawit Alemayehu
On March 2, 2014, 12:12 a.m., Dawit Alemayehu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116524/
> -----------------------------------------------------------
>
> (Updated March 2, 2014, 12:12 a.m.)
>
>
> Review request for kdelibs and David Faure.
>
>
> Bugs: 326292
> http://bugs.kde.org/show_bug.cgi?id=326292
>
>
> Repository: kdelibs
>
>
> Description
> -------
>
> This patch changes Ftp::ftpSize such that it has support for servers that do not allow absolute paths with the SIZE command. That means when sending the command "SIZE /somefile" fails, it will try sending "SIZE somefile" before giving up. See bug report for details.
>
>
> Diffs
> -----
>
> kioslave/ftp/ftp.cpp 5bb2e8d
>
> Diff: https://git.reviewboard.kde.org/r/116524/diff/
>
>
> Testing
> -------
>
> Installed Ftp server from bug report on an Android device and run tests.
>
>
> Thanks,
>
> Dawit Alemayehu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140302/ccb52e94/attachment.htm>
More information about the kde-core-devel
mailing list