Jump to content
Sign in to follow this  

Remote zFTPServer Commands via Telnet

Recommended Posts


I am looking at using zFTPServer for, obviously, a FTP server mainly because your can create / modify users via a Telnet session. So, I am trying to build a very simple program which will take input of the username, password, realname and group membership and parse it out via Telnet.

Looking through the forums I should use the TCPConnect() and TCPSend() functions. I have the following test and appear to get the TCPConnect() to work as it doesn't error, but the TCPSend() does produce an @error:

$strIP = ""
$StrConnectedSocket = TCPConnect($strIP, 3145)
TCPSend($strConnectedSocket, "user admin" & @CR)

Anyone have any suggestions?



Edited by pshankland

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...