Opened 19 years ago

Last modified 19 years ago

#747 closed Bug report

Upload of non-existing subdirectories causes double MKD

Reported by: rele Owned by:
Priority: normal Component: Other
Keywords: Cc: rele, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

Version FileZilla 2.2.9:

The remote directory is / and I want to upload a whole
directory tree: gallery2 with a lot of subdirectories
and files. All of the directories are not existing on
the server.

I add the topmost gallery2 to the queue and the queue
is filled.
When I start to transfer the queue the remote directory
is LISTed and then the non-existing subdirectories are
created.
But FileZilla tries to create every subdirectory twice.

The first log entries after the inital LIST command are:

Command: CWD /
Response: 250 CWD command successful.
Command: MKD gallery2
Response: 257 "/gallery2" - Directory successfully created
Command: CWD /
Response: 250 CWD command successful.
Command: MKD gallery2
Response: 550 gallery2: File exists
Command: CWD /gallery2/
Response: 250 CWD command successful.
Command: MKD docs
Response: 257 "/gallery2/docs" - Directory
successfully created
Command: CWD /gallery2/
Response: 250 CWD command successful.
Command: MKD docs
Response: 550 docs: File exists

...

The server features are:

Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Command: SYST
Response: 215 UNIX Type: L8

I am using passive mode.

Command: PASV
Response: 227 Entering Passive Mode

Keep up the excellent work,
René

Change History (1)

comment:1 by Tim Kosse, 19 years ago

You're using multiple connectiosn. FileZilla does now know
if another thread did already create the directory or is
still creating it.
Thus is tries to create the directory twice. Though this
should make no problem, transfer should complete without
problems.

Note: See TracTickets for help on using tickets.