Automating WinSCP
I use WinSCP to connect to my fileserver, and was hoping to let a co-worker upload files to it.
The account I have set up has limited access.
However, I'll need to make something that is fairly idiot-proof.
I tried to create an executable that generates a script and then runs WinSCP with the script.
I found that this doesn't work though, WinSCP has this behaviour disabled as a security measure.
Is there some way around this? A whitelist of scripts or locations? Is there another way to script something with variables (the files will not always be located in the same place on the co-worker's hard drive, so I need to build in a "browse" bit.
Any help, or pointers about where to begin would be greatly appreciated. Many thanks.
The account I have set up has limited access.
However, I'll need to make something that is fairly idiot-proof.
I tried to create an executable that generates a script and then runs WinSCP with the script.
I found that this doesn't work though, WinSCP has this behaviour disabled as a security measure.
Is there some way around this? A whitelist of scripts or locations? Is there another way to script something with variables (the files will not always be located in the same place on the co-worker's hard drive, so I need to build in a "browse" bit.
Any help, or pointers about where to begin would be greatly appreciated. Many thanks.