Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

lolcakes69

any way to automatically upload via sftp any file of x extension and then delete it locally

I'd probably have to do it in powershell if I wanted it to check every few minutes (essentially running 24/7 or whenever the computer is on) I assume? I'm still kinda new to scripting and completely new to WinSCP. I just recently switched over because of the automating capabilities. But say I wanted it to upload any *.png files in my C:\drawings folder to my server via sftp and then delete it locally after it's been fully uploaded. Or straight up moving it works too if that's possible.