tftpd problem

I’m struggling to get tftp working
Looks like a cross between a bug in tftpd
and permissions.
When I use root as the user in the tftpd
line in inetd.conf, it seems the file must
exist first before a PUT will work:
e.g. fro Windows 2000
tftp -i 192.168.0.20 PUT h.c /home/alex/h.c
Transfer successful: 197 bytes in 1 second, 197 bytes/s

work if I created a h.c before trying the PUT.
If the file doesn’t exist, I get a
Error on server: File not found

If I specify just a directory as the destination
I get
Error on server: Is a directory

When I try another user, I get access violation
if the file already exists.

I also try running tftp on the QNX 6.2 box,
and get the same results.

would appreciate some advice how to configure
this

Thank inadvance

Hi Alex,

This is not a bug, it is the expected behaviour. In order to put a file
the file must exist and be publicly (world) writeable. In order to get
a file the file must be publicly readable.

From the help docs:
"Because tftp doesn’t require an account or password on the remote
system, tftpd allows only publicly readable files to be accessed. Files
may be written only if they already exist and are publicly writable. "

Regards,
Barry F.

<acellarius@yahoo.com> wrote in message news:1103_1045659510@192.168.0.5

I’m struggling to get tftp working
Looks like a cross between a bug in tftpd
and permissions.
When I use root as the user in the tftpd
line in inetd.conf, it seems the file must
exist first before a PUT will work:
e.g. fro Windows 2000
tftp -i 192.168.0.20 PUT h.c /home/alex/h.c
Transfer successful: 197 bytes in 1 second, 197 bytes/s

work if I created a h.c before trying the PUT.
If the file doesn’t exist, I get a
Error on server: File not found

If I specify just a directory as the destination
I get
Error on server: Is a directory

When I try another user, I get access violation
if the file already exists.

I also try running tftp on the QNX 6.2 box,
and get the same results.

would appreciate some advice how to configure
this

Thank inadvance

On Wed, 19 Feb 2003 08:57:02 -0500, “OS Support” <os@qnx.com> wrote:

Hi Alex,

This is not a bug, it is the expected behaviour. In order to put a file
the file must exist and be publicly (world) writeable. In order to get
a file the file must be publicly readable.

From the help docs:
"Because tftp doesn’t require an account or password on the remote
system, tftpd allows only publicly readable files to be accessed. Files
may be written only if they already exist and are publicly writable. "

Regards,
Barry F.

Thank you-will help to read the docs I suppose!
tftp in windows isn’t as strict, which lead me astray.