Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use net to transfer image
#1
Is it possible to use net to transfer an image file across the network between the two functions? If so, example?

-Jim
#2
Nevermind...easy peasy:

Function setFileFromNet
Code:
Copy      Help
function str'filedata str'sPath

filedata.setfile(sPath)

Function Function373
Code:
Copy      Help
str s.getfile("$common pictures$\Sample Pictures\Chrysanthemum.jpg")
int r
str retval
r=net("123.4.5.6" "password" "setFileFromNet" retval s "c:\test.jpg")
out retval


Forum Jump:


Users browsing this thread: 2 Guest(s)