unSpawn |
11-22-2012 05:47 AM |
Quote:
Originally Posted by Hko
(Post 4834014)
Maybe it's me, but as I get it, this doesn't add up. You've lost me there.
|
That's exactly why I already said "Then maybe it's time you post your requirements in full" in post #6...
Quote:
Originally Posted by a2326
(Post 4834637)
To make it clear, I want to build a rcp/scp-based service, that sends files to remote users.
|
Finally...
Quote:
Originally Posted by a2326
(Post 4834637)
The dispatcher sends a notification to the server after rcp/scp has returned with exit status 0. This notification starts a script on the server that immediately tries to forward the file to the receiver. If the receiver is not reachable, the server stops processing files and waits for the next external event.
|
Isn't rcp / scp already exiting OK a sign the receiver already is reachable and available? In this situation you already got one channel of communication so why complicate things and add another? Doesn't make sense to me.
Quote:
Originally Posted by a2326
(Post 4834637)
The receiver wants to inform the server that he is now reachable and shall try again to forward the files he has stored.
|
This really could be any sender / listener combo ranging from having a simple Xinetd listener and the client doing 'echo -en "READY\n"|nc sender_ip port;' to having snmptrapd listening and the client sending something like 'snmptrap -v2c sender_ip public '' .1.3.6.1.4.1.2789.2005.1 s "READY";'.
You might dislike Rational, RUP, Scrum, Agile, 6 Sigma, Lean or whatever but regardless of the methodology one choses to fsck things up with work with, regardless of the size and scope of a project and regardless if it being done instinctively or formally, there will be a stage at which a rough inventory of must haves / could haves / nice to haves gets converted to functional requirements which in turn get converted into technical requirements.
Quote:
Originally Posted by a2326
(Post 4834637)
SNMP would be a better solution, but with just a few weeks of shell programming experience maybe too complicated.
|
If it takes you a about a week to post "I want to build a rcp/scp-based service" then with all due respect SNMP being "maybe too complicated" is not the problem.
|