laziness, impatience, and hubris | |
PerlMonks |
Re^3: Web services - Uploadby osunderdog (Deacon) |
on Oct 19, 2006 at 13:09 UTC ( [id://579351]=note: print w/replies, xml ) | Need Help?? |
More information is certainly better than less. ;) What will happen to the file once it is received by the server... Some further processing? Stored off for another application to pickup? I guess I'm trying to avoid telling you to build a server to receive the file, because those already exist. You could use ssh or ftp or something to receive the file using an already existing protocol. Just off the top of my head (and not to be mistaken for actual experience with this approach) I would have the client connect to the server... upon receiving a command from the client, the server would fire up ftp Net::FTPServer configured to accept connections on an agreed upon port. The client would then invoke ftp to connect to the agreed upon port. The client would transmit the file to the server. The client closes the ftp connection... the server takes back control after the ftp server indicates it has received the file or shutsdown. In fact, after looking at Net::FTPServer, it may be something that you could extend to do exactly what you need... Just some pseudo-random thoughts. Hazah! I'm Employed!
In Section
Seekers of Perl Wisdom
|
|