Chinasmoker Posted November 11, 2007 Share Posted November 11, 2007 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 Link to comment Share on other sites More sharing options...
Nahuel Posted November 11, 2007 Share Posted November 11, 2007 You can't send files with the TCP functions. That would send the string "C:\Windows"TCPSend ( mainsocket, data )Parametersmainsocket The connected socket identifier (SocketID) as returned by a TCPConnect function. data binary/string to be send to the connected socket. Link to comment Share on other sites More sharing options...
Chinasmoker Posted November 11, 2007 Author Share Posted November 11, 2007 You can't send files with the TCP functions. That would send the string "C:\Windows"Thank youso ,I want to send files,how to do ,use third-party software? One is never too old to learn Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 11, 2007 Moderators Share Posted November 11, 2007 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. Link to comment Share on other sites More sharing options...
Nahuel Posted November 11, 2007 Share Posted November 11, 2007 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.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now