10

I have a very simple question. Can I run a remote shell command on the server via FileZilla client. For instance can I do a:

tar -zxvf myarchive.tar.gz

etc... (didn't think it was possible with plain FTP, was wondering about the other protocols offered by FileZilla).

Thanks.

10

Some, but not many, FTP servers support SITE EXEC command. You can enter that in FileZilla using Server > Enter custom command. E.g.:

SITE EXEC tar -zxvf myarchive.tar.gz

Other than FTP, FileZilla supports only SFTP protocol, which does not have any way to execute command on the remote side.


Though it is common that if you have an SFTP access, you also have an SSH terminal access. Some SFTP clients (but not FileZilla) have a built-in terminal feature that allows you to execute commands over an SSH terminal session that seamlessly opens using the same credentials you used for SFTP.

For example in WinSCP, go to Commands > Open Terminal:

WinSCP Console window

You can even save the command and easily reuse it.

With FTP protocol, you can execute the SITE ... command from the same window.

(I'm the author of WinSCP)

3

As this link points out, the answer to the question is still no. For executing remote shell commands use an ssh client.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.