put command issues with a tftp server


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers put command issues with a tftp server
# 8  
Old 05-24-2009
tftp will transfer files even though they do not exist on the host. Are you in the directory that the file resides when performing the tftp command? or try putting the full path to the local file . For example if the file resides in the tmp directory locally would would type tftp -i 172.21.186.143 put /tmp/dmcomplete.tar /Sw/dmcomplete.tar Second does the Sw directory reside on the tftp server*172.21.186.145. If not you cannot transfer a file to a directory that doesn't exit on the server. Make sure you create the directory on the server first before transferring files. There might be a file called /etc/tftpaccess.ctl that controls logins but doesn't sound like you have a problem with that. Different the tftp command works differently on different machines. Can you post a copy of the man page on the tftp command you are using?
# 9  
Old 05-26-2009
put command not working in a tftp server

I'm sure I'm using the correct directory path while transferrring the files
The below is the man page for the tftp I use

D:\Documents and Settings\asenthil>tftp /?
Transfers files to and from a remote computer running the TFTP service.
TFTP [-i] host [GET | PUT] source [destination]
-i Specifies binary image transfer mode (also called
octet). In binary image mode the file is moved
literally, byte by byte. Use this mode when
transferring binary files.
host Specifies the local or remote host.
GET Transfers the file destination on the remote host to
the file source on the local host.
PUT Transfers the file source on the local host to
the file destination on the remote host.
source Specifies the file to transfer.
destination Specifies where to transfer the file.

Thanks for ur follow-up and reply
# 10  
Old 05-26-2009
So does the /Sw directory exist on the host tftp server? Do you have permissions to that directory as a user? Check the tftpaccess.ctl file to see if the Sw directory is listed in there. Run the command line by line and try to put and get and see if either works. Do you know what the default directory is when tftp is started. You should be able to find an inetd.conf in /etc and see what directory it is loading as the default. You should see a tftp -s (default directory) command in there. See if there are any other tftp references in there that controls access from client. Try coping a file from the server to the client and vise versa. Did you try the full pathname to make sure that worked or not?

Last edited by BubbaJoe; 05-26-2009 at 06:06 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Sftp,[put] all files that are .csv to server. Linux Ubuntu

Hello all, I am trying to sftp files to a server, I am using keys as authentication and I can connect with no problems. I can also put a sample file on the server. When I tried to automate this process with a .sh file I get the "couldn't canonicalize: Failure". This is my script: sftp... (5 Replies)
Discussion started by: KidKoder
5 Replies

2. Red Hat

Can C program put message to IBM MQ remotely, if local server doesn't have MQ library?

Can somebody know if it is possible to connect to remote IBM MQ, if local server using C, but don't have MQ library? Thanks for contribution (0 Replies)
Discussion started by: digioleg54
0 Replies

3. Linux

Not able to put ls -lR command in background

Hi All, i am trying to put ls -lRt command to run in the background but it fails. i continue to get output on screen and didnt get the command prompt right after i put the command in background. command i am using is ls -lRt & i am using bash. Can someone let me know how to... (6 Replies)
Discussion started by: omkar.jadhav
6 Replies

4. IP Networking

TFTP Server Timeout issue

Hi, I'm running CentOS 5 as guest using VMware player. My host is Windows Xp. I'm running tftp server in CentOS. I have disabled firewall in both windows and CentOS. I use two different networks with different netmasks on CentOS. I'm able to ping the Centos (tftp server) from another Linux machine... (1 Reply)
Discussion started by: suryaemlinux
1 Replies

5. AIX

IBM Server doesn't ping gateway unless you put a static route

Just want to know if someone has a clue about what could be happening here: I have an AIX box with four NICs in Ether channel connected to a Cisco Switch. When I try to ping the default gateway, sometimes it works, but sometimes it doesn't work unless it has a defined static route. Thanks... (1 Reply)
Discussion started by: witt
1 Replies

6. Ubuntu

Configuring Ubuntu 9.04 as a TFTP Server

Configuring Ubuntu 9.04 as a TFTP Server Im trying to configure my Ubuntu desktop as a tftp server. I found the following instructions on how to do this. Most of the instructions I understand however Im not sure about step 2. The instructions are below: In step 2 do I create a txt file in vi... (2 Replies)
Discussion started by: andyblaylock
2 Replies

7. Solaris

Improperly formatted value for 'tftp-server' error while booting the target from LAN

Hi, I wish to install solaris 10 on a target machine (t1000) by using Jumpstart. I have configured by jumpstart environment for the same. When i boot the target with the option "boot net -v install" i get the following error... {0} ok boot net -v install Boot device: /pci@7c0/pci@0/network@4... (3 Replies)
Discussion started by: hemalsid
3 Replies

8. UNIX for Advanced & Expert Users

unix tftp server

Does anyone know of a Unix TFP server that can tftp more then 32 meg? For Windows there is http://tftpd32.jounin.net but I cannot see a Unix one. Thoughts???? (0 Replies)
Discussion started by: calieddy
0 Replies

9. UNIX for Dummies Questions & Answers

top server issues

? what are the top server issues. (1 Reply)
Discussion started by: geekmaan
1 Replies
Login or Register to Ask a Question