Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
net
#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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)