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

martin

Re: Can WinSCP run a command on the local computer?

No. This request has been added to tracker.

I could just have it write out many small files, but then it would open a new window every site.

Not necessarily. Make sure you use winscp.com.
tibberous

Can WinSCP run a command on the local computer?

I just used PHP, mysql and WinSCP to make a great remote backup system for our server! Basically, a PHP file reads the site list from the server, writes out a WinSCP script and executes it.

The problem is that I want to be able to run a PHP command after every site. I could just have it write out many small files, but then it would open a new window every site. Is there a way to get WinSCP to run a command on the computer it is running on? Like a local version of call?