winscp loop

Asked by eric

Hi to all,

i am currently using a winscp(windows) to connect to another machine(ubuntu).

 i want to ask that is there any possible on make the winscp to keep looping so that it can send a image to another machine(ubuntu) and keep override the image.

thanks in advance for anyone reply ..

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openssh Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

not afaik. You could do it with either ssh-agent, or passwordless ssh-keys.

You would need to install cygwin + scp , then use a bash script like the following

while [ 1 ] ; do scp file.jpg user@ubuntuboxname:~/Desktop/; sleep 1; done

Revision history for this message
eric (xiaoyue-0826) said :
#2

thanks mycae for your reply.

if i just only want to use winscp to execute the bash file, is there any possible ?

thanks in advance for reply .

Can you help with this problem?

Provide an answer of your own, or ask eric for more information if necessary.

To post a message you must log in.