Jump to content

Recommended Posts

Posted

Hey,guys, I ve a question,If I want to send some files or directories from server to client ,How to write Tcpsend

eg Tcpsend ($socketon,"C:\windows"),Is that right?

Thanks

One is never too old to learn

Posted

You can't send files with the TCP functions. That would send the string "C:\Windows"

TCPSend ( mainsocket, data )

Parameters

mainsocket The connected socket identifier (SocketID) as returned by a TCPConnect function.

data binary/string to be send to the connected socket.

Posted

You can't send files with the TCP functions. That would send the string "C:\Windows"

Thank you

so ,I want to send files,how to do ,use third-party software?

One is never too old to learn

  • Moderators
Posted

You can't send files with the TCP functions.

You can't?

What about FileRead()? And Maybe enum the directory with it?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

You can't?

What about FileRead()? And Maybe enum the directory with it?

True.

What I meant is that he can't do it the way he wants to do it. That's a good workaround though..

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...