winscp extremely slow when you copy files from one dir to another dir on one server

Advertisement

username1111
Guest

winscp extremely slow when you copy files from one dir to another dir on one server

I have directory A, which contain subdirectory B and 1000 files.
I select all files, and move them to directory A.
Operation take around 5 minutes.
If I do it from linux command prompt, it take less than one second.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: winscp extremely slow when you copy files from one dir to another dir on one server

That's not unexpected.
If you do mv on a shell command-line, everything happens on the server.
But if you move files using a local client, there's a roundtrip for every file, what causes a significant delay.

Reply with quote

Guest

why not use command line client for such operations, something like
mv file1 ./another_dir/ && mv file2 ./another_dir && ...

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Anonymous wrote:

why not use command line client for such operations, something like
mv file1 ./another_dir/ && mv file2 ./another_dir && ...
I'm not sure now, if this was posted by the same or different user. So I do not know whether this is a question (regarding a possible implementation) or a suggestion to the original poster.

Reply with quote

Advertisement

You can post new topics in this forum