Jump to content

Recommended Posts

Well.. Not going with FTP.au3.. too few commands (listing files). And I don't want to make my own dll calls (bad at dlls). Could someone tell me why my TCP tests arn't working so well? This was my test:

TCPStartup()
$FTPsocket = TCPConnect(TCPNameToIP("ftp.tripod.com"), 21)
$i = 0
While 1
    $rec = TCPRecv($FTPsocket, 2024)
    If $rec Then MsgBox(0, $i, $rec)
    $i += 1
WEnd
Sleep(200)
TCPSend($FTPsocket, "quit")
While 1
    $rec = TCPRecv($FTPsocket, 2024)
    If $rec Then MsgBox(0, $i, $rec)
    $i += 1
WEnd
TCPCloseSocket($FTPsocket)
TCPShutdown()
Info from TCPSend is never sent.. : \

Going to go with the ftp command-line client if I can't get this to work.

http://www.nsftools.com/tips/RawFTP.htm << found a cool list of commands :)

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...