Product Logo

FTPit Pro

Transfer files to and from an FTP server

How can I send CHMOD or other UNIX commands to my FTP server

Doing a “chmod” or any other UNIX command is not in the actual FTP specification. However, some FTP servers allow you to send UNIX commands to the server. If you understand that, then you can use the FTPit_SendRemoteCommand function to send commands to the FTP server.

FTPit_RemoteSendCommand ( Command )

FTPit Pro sends exactly what you specify in the “Command” parameter directly to the FTP Server you are connected to. Please see the documentation for your FTP Server on the syntax and what commands it supports. The following example may or may not work for you depending on your FTP Server.

FTPit_RemoteSendCommand( “SITE chmod 775 myfile.txt”)