Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
net
#1
when using net does the computer you're sending a file to have to be on the same network? or can it be on a different network if you have there computer name and ip?

thanks
#2
Can be in other network, if you know IP.
#3
Would you use the provided ip in the options window...network tab?
#4
Yes.
#5
ok im using this, but everytime it seems to fail? Any ideas?
im pretty sure everytime its returning r as 2 instead of 1?

Function Function3
Code:
Copy      Help
int r
str data.getfile("$desktop$\test123.txt")
str sr
r=net("67.141.4.158" "qm201" "net_SetFile" sr "$desktop$\test123.txt" data)
if(r or sr!="1") end "failed" ;;the remote macro net_SetFile did not run or did not return 1
#6
I cannot say more than is in QM help, net topic.
#7
Ok i found something that might be wrong, the firewall part...
What exactly needs to be disabled for this to work?
#8
Another thing i found, if i use the ip found in the qm options window....it returns value as 1...if i use ip found using www.findmyip.com it returns value as 2.

from what i read if it returns value 1..it cant find the computer.
if it returns value 2...there are many things, including firewall...port is in use.

so maybe this can be a problem?

also...does it matter what port i enter?
does it have to be same on both computers?

thanks
#9
Normally when you first time check "Allow other computers..." in QM Options, Windows shows you a dialog where you can allow QM to use the port or not. Or you can add exception for QM in firewall settings.

Use ip that returns 2.

Must be same port on both computers.
#10
Ok all of that is done, still returning as 2 and failing.
#11
Do you have any idea's why this would be failing if the windows firewall is shut off, same port on both, secified ip, password are all right, but it still wont return value 0 and work?

thanks
#12
Don't know other reasons. Try to disable/enable network adapters, especially on the receiving computer.
#13
How would i go about doing that?
#14
Somewhere in control panel -> network connections, there are network connection icons.
Or restart computers. It resets network adapters.
#15
ok did that on both sending and recieving comps and tried multiple times, still doesnt work.
sometimes it returns value as 2 and sometimes it is 1.
im lost on why this wont work when i tryed everything so far.

:?: :?: :?: :?:


Forum Jump:


Users browsing this thread: 1 Guest(s)