Bug 66466 - Create a *real* SFTP Task
Summary: Create a *real* SFTP Task
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Optional Tasks (show other bugs)
Version: 1.10.13
Hardware: PC
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-06 09:47 UTC by Christoph
Modified: 2023-02-06 09:47 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph 2023-02-06 09:47:14 UTC
The SCP task from ant-jsch with sftp="true" only supports get/put commands. SFTP has many more commands like ls, mkdir, rm, rmdir and so on. And SFTP also supports a command-list in batch mode. The sftp="true" flag is a great way to move from SCP to SFTP without much pain but if one needs the other SFTP commands it can't be done via ant.

So I'm proposing to implement a new SFTP task (within ant-jsch) that supports the full range of SFTP commands via command and commandResource attributes (similar to SSHExec's command and commandResource attributes).