The electronic device according to various embodiments comprises: a housing structure; a
user interface located in the housing structure; a
network interface that can be connected by wire or wirelessly; a
wireless communication circuit configured to communicate with an external device by using frequencies between 10 GHz and 100 GHz; a processor located in the housing structure and operatively connected to the
user interface, the
network interface, and the
wireless communication circuit; and a memory located in the housing structure and operatively connected to the processor. When the memory is running, the processor may: establish a first
communication channel with a first external device by means of the
wireless communication circuit; receive
authentication information from the first external device by means of the first
communication channel; receive data from the first external device by means of the first
communication channel, while or after receiving the
authentication information; store the received data in the memory at least temporarily; establish a second communication channel with a second external device by means of the
network interface, by using the
authentication information; and store commands for transmitting the stored data to the second external device by means of the second communication channel. Other embodiments are possible.