Opened 23 years ago

Last modified 10 years ago

#14 closed Bug report

Can't "Remove" directory on remote host

Reported by: anonymous Owned by: Tim Kosse
Priority: low Component: Other
Keywords: Cc: Tim Kosse, darylj
Component version: Operating system type:
Operating system version:

Description

When using the "Remove" option on a remote host, files
are removed but not directories. Remove works great
on local system.

Change History (4)

comment:1 by Tim Kosse, 23 years ago

I've no problems deleting directories on remote servers.
Maybe you don't have the permissions on the server to
delete the directories?
Please post a copy of the message log so that I can analyse
the problem.

comment:2 by darylj, 23 years ago

Using account darylj with admin privileges: I have a
directory called "test" that I created so this log starts
from initial login to the ftp server. It appears to me
that the utility is looking inside the directory and
leaving it open so that the delete thinks it's busy. My
remove host directory shows that I'm in root and not
in "test".

Status: Connecting to 172.30.0.2 ...
Status: Connected with 172.30.0.2. Waiting for welcome
message...
Response: 220 yoda Microsoft FTP Service (Version 5.0).
Command: USER darylj
Response: 331 Password required for darylj.
Command: PASS
Response: 230-Welcome to the Bidtek FTP Site
Response: 230 User darylj logged in.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: PORT 192,168,0,66,7,212
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection
for /bin/ls.
Response: 226 Transfer complete.
Command: CWD /test
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/test" is current directory.
Command: PORT 192,168,0,66,7,213
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection
for /bin/ls.
Response: 226 Transfer complete.
Command: RMD /test/
Response: 550 /test: The process cannot access the file
because it is being used by another process.
Command: CWD /
Response: 250 CWD command successful.
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: PORT 192,168,0,66,7,214
Response: 200 PORT command successful.
Command: TYPE A
Response: 200 Type set to A.
Command: LIST
Response: 150 Opening ASCII mode data connection
for /bin/ls.
Response: 226 Transfer complete.

comment:3 by darylj, 23 years ago

One more note: I have another ftp utility that I don't like
as well as FileZilla but it deletes the test directory just
fine. Here is the log from the other ftp utility:

Connecting ...
Connected to: yoda
220 yoda Microsoft FTP Service (Version 5.0).
331 Password required for darylj.
230-Welcome to the Bidtek FTP Site
230 User darylj logged in.
257 "/" is current directory.
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
250 CWD command successful.
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
250 CWD command successful.
250 RMD command successful.
257 "/" is current directory.
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.

comment:4 by Tim Kosse, 23 years ago

Thanks for the logs. I've identified and fixed the problem.
It will work in the next release.

Note: See TracTickets for help on using tickets.