Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

how can I transfer files between two nodes on node.js #1023

Closed
kappabooom opened this issue Sep 20, 2017 · 0 comments
Closed

how can I transfer files between two nodes on node.js #1023

kappabooom opened this issue Sep 20, 2017 · 0 comments

Comments

@kappabooom
Copy link

  • Version:
  • Platform:mac osX
  • Subsystem:

Type:Question

Severity:Medium

Description:

I want to transfer files between node1 and node2.
the way I tried is that use node1 connect node2, then use node2 add files, use node1 get.
I have two question~
1.is it a right way to transfer files
2.when I tried to connect two nodes, I saw 4 port
Swarm listening on /libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss/ipfs/Qmf3ySkYqLET9xtAtDzvAr5Pp3egK1H3C5iJAZm1SpLEp6
Swarm listening on /ip4/127.0.0.1/tcp/4008/ws/ipfs/Qmf3ySkYqLET9xtAtDzvAr5Pp3egK1H3C5iJAZm1SpLEp6
Swarm listening on /ip4/127.0.0.1/tcp/4007/ipfs/Qmf3ySkYqLET9xtAtDzvAr5Pp3egK1H3C5iJAZm1SpLEp6
Swarm listening on /ip4/10.232.225.251/tcp/4007/ipfs/Qmf3ySkYqLET9xtAtDzvAr5Pp3egK1H3C5iJAZm1SpLEp6
but I don't know which one should I use.
THANKS!!

Steps to reproduce the error:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant