Opened 20 years ago

Last modified 11 years ago

#2199 new Feature request

command line: Perform a Custom Command (SFTP/SSH)

Reported by: palooka Owned by:
Priority: normal Component: FileZilla Client
Keywords: customcommand, custom_command, custom command, custom, command, sftp, ssh, "not supported" Cc: palooka, Eirik, Alexander Schuch, filezilla@…, stepheneliotdewey@…
Component version: Operating system type:
Operating system version:

Description

I'd like to see a command line option in the FileZilla client,
allowing to pass a Custom Command to the server.

This would be valuable when scipting automated tasks on
the client (the ability to perform remote execution of
scripts on the server).

Best regards,
Palooka

Change History (5)

comment:1 by Eirik, 20 years ago

This is a feature request, moving.

comment:2 by Christopher K., 13 years ago

Cc: filezilla@… added

I also thing this would be a useful feature for advanced users.
Especially when using SFTP, it would be great if there was a possibility to enter some command that will be executed over SSH. This way, you would not need to open a ssh client every time you want to execute some command (e.g. restart a service or something).

comment:3 by Christopher K., 13 years ago

Summary: command line: Perform a Custom Commandcommand line: Perform a Custom Command (SFTP/SSH)

Sorry for double post. I just found out that "Server" / "Enter custom command" makes this possible, but it does only work for FTP and not SFTP / SSH. It always says that the command entered is not supported by this protocol even when simple commands like "ls" are entered.

As this feature request seems to be done for FTP commands, I change the title to make clear SSH commands are still missing.

comment:4 by Stephen, 12 years ago

Cc: stepheneliotdewey@… added
Keywords: customcommand custom_command custom command custom command sftp ssh "not supported" added

I would also like to request this be added for SFTP. It would be very helpful for investigating connection/server issues and testing commands that I want to use in my applications.

As an easier first step, FileZilla should not give the message "Command not supported by this protocol" for SFTP because this is misleading. It should say "Filezilla does not support custom commands for SFTP" or the option in the dropdown should simply be grayed-out.

comment:5 by Alexander Schuch, 11 years ago

For FTP, automation is possible - https://wiki.filezilla-project.org/Post_login_commands. I am just not sure whether this works for SFTP as well. Give it a try.

Note: See TracTickets for help on using tickets.