Opened 12 years ago

Last modified 12 years ago

#1293 closed Bug report

Bug on MDTM

Reported by: jorgebastos69 Owned by:
Priority: normal Component: FileZilla Server
Keywords: Cc: jorgebastos69, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

Hi,
I have a situation that i think it may be a bug, but not sure if ncftp client or filezilla server.
Below i show the logs:

the problem is on the lines:
---
(000007) 20-09-2007 18:10:43 - copia (192.168.1.206)> MDTM 20070920171248 backup_mysql_peixe.zip
(000007) 20-09-2007 18:10:43 - copia (192.168.1.206)> 550 File not found
---

(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> MFMT
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 211 End
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> HELP SITE
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 214 Command SITE is supported by FileZilla Server
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> CLNT NcFTPPut 3.2.0 linux-x86-glibc2.3
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 200 Don't care
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> CWD /Peixe
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 250 CWD successful. "/Peixe" is current directory.
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> TYPE I
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 200 Type set to I
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> OPTS MLST type;size;modify;
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 501 Option not understood
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> MLST backup_mysql_peixe.zip
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 250-Listing /Peixe/backup_mysql_peixe.zip
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> type=file;size=10578603;modify=20070920170855; /Peixe/backup_mysql_peixe.zip
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 250 End
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> PORT 192,168,1,206,10,146
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 200 Port command successful
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> STOR backup_mysql_peixe.zip
(000007) 20-09-2007 18:10:40 - copia (192.168.1.206)> 150 Opening data channel for file transfer.
(000007) 20-09-2007 18:10:43 - copia (192.168.1.206)> 226 Transfer OK
(000007) 20-09-2007 18:10:43 - copia (192.168.1.206)> MDTM 20070920171248 backup_mysql_peixe.zip
(000007) 20-09-2007 18:10:43 - copia (192.168.1.206)> 550 File not found
(000007) 20-09-2007 18:10:43 - copia (192.168.1.206)> QUIT
(000007) 20-09-2007 18:10:43 - copia (192.168.1.206)> 221 Goodbye
(000007) 20-09-2007 18:10:43 - copia (192.168.1.206)> disconnected.

Change History (1)

comment:1 Changed 12 years ago by Tim Kosse

The MDTM must not be used to set the remote file time: http://filezilla-project.org/specs/draft-ietf-ftpext-mlst-16.txt

To set the remote filetime, the MFMT command should be used: http://filezilla-project.org/specs/draft-somers-ftp-mfxx-01.txt

Note: See TracTickets for help on using tickets.