Directory goes blank after using Move command

Advertisement

rf15
Joined:
Posts:
4
Location:
California

Directory goes blank after using Move command

Hi All,
Version: 6.3.5 (Build 14991 2024-09-10)
Windows 10
Protocol: SFTP
GUI Interface - Explorer

I try to take some time once a month to move older files from remote directories I use frequently to directories I don't use as much to lessen the amount of time it takes to load and/or search.

While moving large numbers of files by highlighting the ones I want to move, right-clicking and selecting Move I sometimes run into an issue where once the Move is finished the directory I am in is empty and shows no files. BUT I know the files are still there because if I copy a file from my local directory that I know is in the "empty" directory, I get a pop-up asking me if I want to Overwrite the file. See attached image.

It's hard to replicate the issue because it doesn't happen every time. It only seems to happen when moving a large number of files. In this most recent case, I was moving between 400 and 500 at a time, and it happened after I had already moved about 2,000 of them.

In the past, the directory has re-populated itself, although what causes it to re-populate seems to me to be random. Sometimes, all I need to do is copy a new file into the directory. Other times, closing WinSCP and re-opening it works. I've tried creating a new file, creating a new directory, copying multiple files into the directory... sometimes one of those will trigger it, sometimes it won't.

Any thoughts or suggestions on how to avoid this and what to do when it happens would be greatly appreciated.

Description: Screenshot of the pop-up asking if I want to overwrite the file, even though the remote target directory is empty.

winscp-overwrite.PNG

Reply with quote

Advertisement

rf15

Re: Directory goes blank after using Move command

They do not. I've tried hitting the Refresh icon, closing the connection and re-connecting, letting it time out and re-connect... still acts like it's empty.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Directory goes blank after using Move command

Please attach a full session log file showing the problem including the subsequent Refresh (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

rf15
Joined:
Posts:
4
Location:
California

Re: Directory goes blank after using Move command

Hi Martin,

Will do. I just went back into the directory and the files are now showing again, so I will come back to this the next time it happens. As I mentioned, it's hard to reproduce, but I will turn on logging before the next time I am archiving files so when it happens again I can upload them for you.

Thanks.

Reply with quote

Advertisement

rf15
Joined:
Posts:
4
Location:
California

It happened again

Hi All,

It happened to me again. As I was moving files using the Move command from one folder to another. I moved a chunk of about 500 files at once and after the move finished the directory looked empty.

I then copied a file from my local drive into the "empty" folder and all of the files showed again. It's now in a spot where if I delete the file I copied in, the directory goes blank. And if I copy that file back in from local, everything is disaplyed.

I'm attaching the log file. For this log, I started in the directory. Deleted the file I had copied (named 20230804--P5122459-2--142699505.856), the directory went blank, I copied the file back in from local, the directory was populated.

Reply with quote

martin
Site Admin
martin avatar

Re: It happened again

Thanks for the log. Though it shows just the login and initial listing of directory /TDSynnex. It does not show any delete nor move. It does not even contain any "20230804--P5122459-2--142699505.856".

Reply with quote

Advertisement

You can post new topics in this forum