Differences

This shows you the differences between the selected revisions of the page.

2008-05-09 2008-05-09
no summary (219.143.215.125) (hidden) Restored revision 1207818575. Undoing revision 1210323825. (martin) (hidden)
Line 51: Line 51:
The script below requires opening separate [[shell session]] to invoke remote-side scripting. The script below requires opening separate [[shell session]] to invoke remote-side scripting.
-<code winscp>eated.+<code winscp> 
 +# Make copy of the most recent file using remote command to new name 
 +# with unique extension to easily find the file in the temporary directory. 
 +call cp `ls -t | head -1` /tmp/`ls -t | head -1`.latest 
 +# Download all the files with the unique extension. 
 +# There should be only one, the one just created.
# While downloading, remove the unique extension. # While downloading, remove the unique extension.
get /tmp/*.latest *. get /tmp/*.latest *.

Last modified: by martin