WinScp freezes when copying dirs with named pipes in it

Advertisement

Axel
Guest

WinScp freezes when copying dirs with named pipes in it

Hello,
here is one bug or feature I found. When I am trying to copy a small directory from i.e. linux to windows, and there is a named pipe in it (mknod name p), winscp stops there and freezes or there comes a "Host is not communicaing for more thant 15 seconds" popup. When deleting that fifo everything works. Maybe you can implement some check for ugly filetypes.

- Winscp Version 427 or older
- Win XP SP3
- SFTP-3 protocol
- Manual copy, GUI, F5 key
- Steps to reproduce: mkdir /tmp/aaa;cd /tmp/aaa;touch a b c x y z; mknod d pipe; then try to copy that dir aaa to your pc.

Greetings,
Axel

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,070
Location:
Prague, Czechia

Re: WinScp freezes when copying dirs with named pipes in it

WinSCP does what you ask it to do. It may be perfectly reasonable to copy named pipe.
_________________
Martin Prikryl

Reply with quote

Axel
Guest

pipe

It's not that I want to copy pipes! When I try to copy a dir with hundred files and there is a pipe in it it just stops and you don't know why. A popup "Warning! Cannot copy a named pipe!" woud be great.

Reply with quote

bheinsius
Joined:
Posts:
3

I run into this problem too. it is a problem for me because I copy a folder containing hundreds of subfolders that contain thousands of files, and the complete copy stops whenever it encounters a named pipe. only workaround for me is to copy file-by-file.

winscp gives the following dialog window:
> Host is not communicating for more that 15 seconds. Still waiting...
> Warning: Aborting this operation will close connection!
> [Abort] [Help]

this is WinSCP Version 4.3.8 (Build 1771)
copying files from ubuntu 11.04 to windows vista.
new/updated files only in background transfer

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,070
Location:
Prague, Czechia

bheinsius wrote:

I run into this problem too. it is a problem for me because I copy a folder containing hundreds of subfolders that contain thousands of files, and the complete copy stops whenever it encounters a named pipe. only workaround for me is to copy file-by-file.
You can use an exclude mask to exclude all interfering named pipes.
https://winscp.net/eng/docs/ui_transfer_custom
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum