kio ftp uses absolute paths with SIZE command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kio (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
kio-ftp should use relative paths with SIZE command whenever possible.
This was already fixed 2014 in KDE 4.14.2, but is broken in current ubuntu kde.
https:/
Wireshark FTP Trace:
220 SwiFTP 2.11.3 ready
USER ftp
331 Send password
PASS *secret*
230 Access granted
SYST
215 UNIX Type: L8
PWD
257 "/"
cwd /DCIM/Camera/
550 Can't CWD to invalid directory
cwd /DCIM/Camera
250 CWD successful
TYPE I
200 Binary type set
PASV
227 Entering Passive Mode (172,16,
list 20160729_
150 Opening BINARY mode data connection for file list
226 Data transmission OK
SIZE /DCIM/Camera/
550 No directory traversal allowed in SIZE param
cwd /DCIM/Camera/
550 Can't CWD to invalid directory
PASV
227 Entering Passive Mode (172,16,
retr /DCIM/Camera/
150 Sending file
226 Transmission finished
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: kio 5.18.0-0ubuntu1
ProcVersionSign
Uname: Linux 4.4.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Dec 22 10:17:55 2016
SourcePackage: kio
UpgradeStatus: Upgraded to xenial on 2016-04-22 (243 days ago)