Ftp welcome message


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Ftp welcome message
# 1  
Old 07-10-2004
Ftp welcome message

Hi there
Could anyone tell me if it's possible, and if it is, how to setup a welcome message on my ftp server? i've readed the man pages for ftp,ftpd,ftpaccess and came to no conclusion. this on HP-UX.
thanks for any help
# 2  
Old 07-11-2004
The general instructions should be in the ftpd man page.

Specific configuration information can be found in the ftpd.conf man page.
example ftpd.conf entry from my BSD machine might look like this:

motd all ftpwelcome


The format being:
motd class [file]

Class info is found in the ftpd.conf man page and ftpusers file.

"ftpwelcome" in the example above is an option if you want to have a separate ftp login message than the standard terminal login "motd". You could create a file with a different name if you want to, and supply that name, but using either "motd" or "ftpwelcome" will make it easier to figure out if some one new has to manage your server while you are away (for whatever reason).
Of course, they could just check your ftpd.conf to figure it out though...

HP-UX ftpd configuration may be different, but I hope this is helpful.
# 3  
Old 07-11-2004
Thanks, but that configuration doesn't work for me.
i don't even have a file ftpd.cong or it's man pages.
So far, i have found that in the file inetd.conf i can load the service with the options i need. One of them is to sart the ftp service from a configuration file called ftpaccess, where i can define any messages. The problem is, that would overide all the standard options, ftp has configured now. It will be a lot of work to check every option in the file, and i have to consider 120 diferent users, that use ftp in regular bases. I was just think that maybe there was a default message in some file, like the "Goodbye" when someone closes the ftp connection. But is it so? is there such file?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Ssmtp -t < /path/to/the/message.txt (How to format message.txt for html email)

ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets, Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies

2. Programming

[XQuery] How to Convert from JSON Message to XML Message with XQuery

Hi guys, I'm in a job of converting a restful webservice to soap. Tool for convertation uses XQuery. Now i need to convert a message like this: { "firstName": "John", "midName": null, "lastName": "Smith", "married": false, "address": { "streetAddress": "21 2nd... (5 Replies)
Discussion started by: tien86
5 Replies

3. HP-UX

[Solved] Unable to rename file in ftp server .Net:FTP perl

Hello All, I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir. rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed. Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies

4. Shell Programming and Scripting

FTP Error Message

Hello All I have below code snippet /usr/bin/ftp -niv $ftphost 1>&2 >> $upload_log <<EndFtp quote user $ftp_user quote pass $ftp_pass cd $ftp_dir put $upload_file When i pass a wrong ftphost as a paramater, output is "ftp: abc.net: Name or service not known". (abc.net is the... (3 Replies)
Discussion started by: forums123456
3 Replies

5. Shell Programming and Scripting

Automated FTP script using .netrc to multiple FTP servers

Hi all, I'm using the following script to automated ftp files to 1 ftp servers host=192.168.0.1 /usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp open $host bin cd ${directory} put $files quit ftp and the .netrc file contain machine 192.168.0.1 login abc... (4 Replies)
Discussion started by: varu0612
4 Replies

6. UNIX for Advanced & Expert Users

Using FTP to check whether file is completely FTP... plz find the description below

Hi, We have some clients who will place huge files in to one of the remote server. And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients. My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies

7. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies

8. UNIX for Advanced & Expert Users

MVS->Unix FTP : Using chmod as part of FTP.

We are transferring file from mainframes to unix, & in FTP process itself we would like to set access rights for unix machine. Has anyone used chmod command in association with site command in ftp? How it should be used? Thanks in advance. (1 Reply)
Discussion started by: videsh77
1 Replies

9. Shell Programming and Scripting

trnsmiting thousands ftp files and get an error message

Im transmiting thousands ftp files to a server, when type the command mput *, an error comes and say. args list to long. set to I. So ihave to transmit them in batch or blocks, but its too sloww. what shoul i do?. i need to do a program, or with a simple command i could solve the problem? (3 Replies)
Discussion started by: alexcol
3 Replies

10. Shell Programming and Scripting

FTP Warning message ?

Hi, I wrote a ftp script to get some files from one server. So files transer is working properly. But I observed following Warning message for every transaction, Can somebod give me explanation to this Warning message? I am confused? 109516 bytes received in 0.066 seconds (1659333 bytes/s)... (1 Reply)
Discussion started by: maheshsri
1 Replies
Login or Register to Ask a Question