darkoperator / darkoperator/Posh-SSH
Move file on Remote Server to Different Folder After Download (SFTP)?
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
I have a look through a list of Posh-SSH command,
I can't seem to find a command to move a file to archive folder on the Remote Server.
eg:
Remote Folder: /Out
Remote Folder: /Out/Archive
I can see that there is a delete file command (https://github.com/darkoperator/Posh-SSH/blob/master/docs/Remove-SFTPFile.md) on the Remote Server Command (Similar to the following request #156 )
To Safe guard a failed download.
Thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the SFTP command documentation, especially Remove-SFTPFile.md, and compare the related request in issue #156. Trace the existing remote-file command implementation and determine how a move from /Out to /Out/Archive should be exposed. Done means the downloaded file can be moved to the remote archive folder without relying on deletion as the safeguard.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100