LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Transphering files over a remote named pipe (https://www.linuxquestions.org/questions/linux-networking-3/transphering-files-over-a-remote-named-pipe-368655/)

breik 10-01-2005 01:54 AM

Transphering files over a remote named pipe
 
I've got a bunch of files on a Windows box that need to go to and from a Linux box. The problem is neither of them has a public IP address. I do have an account on a Linux box with a public IP address but not enouph storage space to hold all the files. My thought was putting a named pipe on the public computer and writing/reading the pipe on either end. When I tried this however it didn't work. When I run scp to send a file it hangs like I would expect it to until scp on the other end comes in to read it. Once the other scp connection comes in to read from the pipe, both error out. The sender gets: scp: /home/breik/pipe: truncate: Invalid argument. The reader gets: scp: /home/breik/pipe: not a regular file. Anyone know either if I need to do something different or another way to transpher files between two computers without public IPs?

Agrouf 10-02-2005 01:10 PM

What about DNAT'ing your ftp server on the machine with public IP with iptables?


All times are GMT -5. The time now is 10:24 PM.