Sign in to follow this  
Followers 0
pshankland

Remote zFTPServer Commands via Telnet

2 posts in this topic

#1 ·  Posted (edited)

Hi,

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 = "127.0.0.1"
TCPStartup()
$StrConnectedSocket = TCPConnect($strIP, 3145)
TCPSend($strConnectedSocket, "user admin" & @CR)
TCPCloseSocket($strConnectedSocket)

Anyone have any suggestions?

Thanks.

Pete.

Edited by pshankland

Share this post


Link to post
Share on other sites



Sorry to bump but does anyone have any ideas??

Thanks.

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  
Followers 0