cy33hc / ps4-webdav-client

GNU Lesser General Public License v2.1
5 stars 0 forks source link

MegaCMD #1

Open TheWizWikii opened 1 year ago

TheWizWikii commented 1 year ago

Great tool! Would you be so kind to specify the use of MegaCMD, I tried to use it by creating webdav /my pkg folder/. With that I get a link 127.0.0.1:4443/xxxxxxxx/pkg folder/.

With that I can perfectly access the server directory from my computer but not from the PS4. Am I missing something?

cy33hc commented 1 year ago

@TheWizWikii Hi There. The ip 127.0.0.1 can only be accessed from the computer itself, it's call the loopback ip. To access the webdav, you have to use the IP of the computer where you are running mega cmd. To get the IP address of the desktop/laptop open the "cmd" tool and run "ipconfig" that will get you the ip address that should be used from the PS4. Also in the documentation you have to add the parameter --public, so that the link is accessible outside the computer.

Example

webdav /pkg_folder --public

image

Example is output of the running ipconfig. In my case I have multiple network interfaces so you see many IPs. In my example, I would replace 127.0.0.1 with ip 192.168.100.14

so the Url you put in the PS4, is http://**192.168.100.14**:4443/xxxxxxxx/pkg folder

C:\Users\xxxxx>ipconfig

Windows IP Configuration
Ethernet adapter Ethernet:
   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::ed57:4f7e:4ef0:e8b7%17
   IPv4 Address. . . . . . . . . . . : 192.168.100.14
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.100.1

Ethernet adapter Ethernet 3:
   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::6d5a:b492:f952:d1d4%8
   IPv4 Address. . . . . . . . . . . : 192.168.56.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
TheWizWikii commented 1 year ago

Thank you very much Buddy for all the information and this great tool.