On Wed, 4 May 2011, Andrew Hume wrote:
it is time for my annual head-slapping over scp.is there any plausible alternative to scp? mostly its all fine, but i am struggling over having to do an additional ssh afterwards to confirm teh file got there (or to let the other side know its done). any reasonable command would do something with the file modes or (like ftp) allow you to rename the file (say from foo! to foo) after the copy finished. of course, the wretched scp faq says "no changes; it has to be like rcp" which is fine and all, except rcp is a very old piece of crap. surely we can do better?
are you looking for a general solution? or are you looking for a solution that you can use in a particular use case?
if you are looking for something for a particular use case, I would suggest trying to do http file uploads to a cgi, that cgi can then take action when it finishes getting the file to do anything else.
this won't work for run-of-the-mill ad-hoc sysadmin work, but it will work for process automation work.
David Lang
_______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
_______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/