Topic "Unable to delete local directories"

Author Message
voidpointer
[View user's profile]

Joined: 2015-08-11
Posts: 6
When I delete a directory in the Local pane, I get an error trying to delete the file.

Logs show:


Code:
* 2015-08-11 17:34:16.570 (EOS3xtException) Error deleting file 'C:\System\content\asdf'.


(I had to replace the E above with a 3 in the exception name because forum spam filters thought I was putting in a dirty word lol)

I'm on Windows 8.1 x64. I have UAC disabled, but regardless of that fact I attempted running WinSCP as administrator and it made no difference.
Advertisements
voidpointer
[View user's profile]

Joined: 2015-08-11
Posts: 6
Can anyone help with this?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Do you have the problem with any file, or just this one?
I assume there must be more details in the error message.
Guest




prikryl wrote:
Do you have the problem with any file, or just this one?
I assume there must be more details in the error message.


This only happens with directories. In this case, `asdf` is an empty directory. For files, it deletes just fine.

Note in the error it says it can't delete FILE, but it's a directory. It sounds like maybe WinSCP is trying to delete a directory as a file (just based on wording).

And as far as logs go, I enabled detail logging but that's literally all that is in the logs of interest. Everything else has nothing to do with the error. Unless you know of some more detailed logs somewhere.
voidpointer
[View user's profile]

Joined: 2015-08-11
Posts: 6
Sorry, I replied without logging in first.
voidpointer
[View user's profile]

Joined: 2015-08-11
Posts: 6
I'm still having this issue. Anyone able to reproduce it?
voidpointer
[View user's profile]

Joined: 2015-08-11
Posts: 6
OHHHHHHHHHHHHHHHHHHHH I know what it is now!! I can't believe I forgot.

The directory I'm deleting is contained inside of a symlink on windows, which I created with "mklink /D".

Does WinSCP not support deleting directories contained inside of symlink dirs? When I delete directories not inside a symlink dir, it deletes them just fine.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
I cannot reproduce the problem. How do you delete the folder in WinSCP? Do you have deleting local files to a recycle bin enabled or disabled?
voidpointer
[View user's profile]

Joined: 2015-08-11
Posts: 6
prikryl wrote:
I cannot reproduce the problem. How do you delete the folder in WinSCP? Do you have deleting local files to a recycle bin enabled or disabled?

Whatever the default setting is. I haven't changed any settings.

Note I'm deleting an empty DIRECTORY, that is located within an application link 2 levels deep. Example:

Code:
E:\RealData (real directory, containing subdirectories and files)
E:\FakeData\_stuff (link to ==> E:\RealData)
C:\RealData (link to ==> E:\FakeData\_stuff)


All directory links were created via "mklink /D" on Windows 8.

Try to reproduce this directory setup (specifically across drives) and see if you can repro the issue. Thanks for helping out.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
voidpointer wrote:
Whatever the default setting is. I haven't changed any settings.

Can you please check anyway?
http://winscp.net/eng/docs/ui_pref_panels_local
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License