Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Socket or not

by FloydATC (Deacon)
on Nov 28, 2010 at 07:29 UTC ( #874076=note: print w/replies, xml ) Need Help??


in reply to Socket or not

The problem here seems to be not the upload/download part but the triggering of some conversion process at odd hours. Why not solve this simply by programming a tiny service/daemon that polls the input directory every N seconds for new data and then simply converts it into the output directory and goes back to sleep for another cycle? The techs could upload a bunch of files and then create an agreed-upon file named "convert.txt" to trigger the conversion process.

Problem solved, no security issues.

I would even go as far as to hint towards Powershell if politics is an issue, many Windows admins are more comfortable with using that cra^H^H^Hlanguage because they (incorrectly ofcourse) believe the code is easier to read than Perl.

-- Time flies when you don't know what you're doing

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://874076]
help
Chatterbox?
Eily used google. The lazy internet equivalent of grep
[karlgoethebier]: He!
[Eily]: Discipulus pretty much all oneliners are killing. Do you imagine how many people could be working if you asked them to do the same thing in C each time ? :P
Eily is Listening to "Leave out all the rest" by Linkin Park
[karlgoethebier]: that's why trade unions like C ;-)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2017-07-21 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (320 votes). Check out past polls.