egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

uploading information to another server without a password

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
tueb
Halfop


Joined: 04 Oct 2007
Posts: 76
Location: #quiz.de @ irc.gamesurge.net

PostPosted: Thu Feb 05, 2009 8:21 am    Post subject: uploading information to another server without a password Reply with quote

Hi,

I'm looking for a way to upload a file (or the data stored inside) to another server without using ftp.

The idea is that i run the server and user can upload their channel-information there. Of course i do not want to give away my ftp-pw to everyone.

Is there a way?

Thx,

tueb
_________________
#Quiz.de @ irc.GameSurge.net
JavaChat
Back to top
View user's profile Send private message Visit poster's website
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Thu Feb 05, 2009 3:04 pm    Post subject: Reply with quote

Perhaps you could maintain whatever database of information you require your users to contribute to on the bot itself, with Tcl binds/commands to facilitate additions to and deletions from the database.

You could then use other binds/commands, perhaps available to the bot owner only, to automatically transfer information to another server by invoking the shell's command line ftp client (using Tcl exec command) to upload. The host/user/pass for the other server would be written into the script, hence only visible to persons with access to your shell (and therefore the scripts).

But, to answer your question, I don't know another way of transferring files between servers without using ftp.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Feb 05, 2009 5:21 pm    Post subject: Reply with quote

From reading your post, I make the assumption that you've got root access to your server (or equivalent).
In such case, it would be a "mere" matter of installing server software for whatever transfer protocol you choose to use.
Another approach could be to allow anonymous ftp, or grant each user their own ftp account.
Other approaches could be a simple cgi-script to handle a file upload from your favourite browser. This could fairly easily be supported within your eggdrop through some creative scripting.
Yet another way could be using public key authentication with ssh/scp/sftp, although you probably would like to grant each user their own account here aswell.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber