[CALUG] Uploading file or sending text to web-server.

pronto pronto185 at gmail.com
Tue Aug 28 12:22:27 EDT 2012


@Rajiv; so you're looking for a centralized syslog server?

though, you an also do crazy things with netcat:

on server:
$nc -l -p 5432 1> outfile

on client:
telnet server 5432
type things

or:
cat logfile |telnet server 5432


(though you will have to start up the netcat listener each time  )
....i hope i replied correctly...
--Justin Brand



On Tue, Aug 28, 2012 at 11:24 AM, Rajiv Gunja <opn.src.rocks at gmail.com> wrote:
> I want to keep away from using and installing ssh keys. The files I'm
> sending are just parts of a log file. There is no need for security as the
> servers are all in secure network.
>
> So, that is why I want to use Perl or Ksh.
>
> Let me know. Thanks.
> -GGR
>
> On Aug 28, 2012 9:01 AM, "John L. Cunningham" <djohngo at gmail.com> wrote:
>>
>> On Mon, Aug 27, 2012 at 12:53:52PM -0400, Rajiv Gunja wrote:
>> > I have been looking at CURL, perl, PHP, KSH/BASH for sending files to a
>> > web-server, from UNIX based OSes, which is the easiest without requiring
>> > extra
>> > installation? I am guessing PERL as it is available on all our
>> > platforms.
>> >
>> > If PERL, which module do I use? I am not good with PERL, so Please
>> > advise.
>> > Thanks
>>
>> Hi Rajiv,
>>
>> Is ssh an extra install? I usually use scp or sftp for this because
>> public key authentication makes easier to automate these kinds of tasks.
>> --
>> John
>>
>> _______________________________________________
>> CALUG mailing list
>> CALUG at unknownlamer.org
>> http://lists.unknownlamer.org/listinfo/calug
>
>
> _______________________________________________
> CALUG mailing list
> CALUG at unknownlamer.org
> http://lists.unknownlamer.org/listinfo/calug
>



More information about the CALUG mailing list