Originally Posted by saman007uk
You do not need to specify server IP in the put command. Also, I suspect /aa is not the correct path. Evrything is fine, you are just using incorrent syntax.
Assuming that you run the FTP client from the folder where the file "aa" is, try:
Thanks for ur reply.
when i try to upload the file named anshu under /,you can see following error .
227 Entering Passive Mode (192,168,0,45,174,23)
150 Here comes the directory listing.
-rw-r--r-- 1 502 502 33 Apr 04 18:20 aks
-rw-r--r-- 1 502 502 46 Apr 04 18:39 ftp
drwxrwxr-x 2 502 502 4096 Mar 24 02:31 mannu
226 Directory send OK.
ftp> put anshu
local: anshu remote: anshu
local: anshu: No such file or directory
[root@server1 /]# ls
aks boot etc lib misc opt sbin sys var
anshu dev ftp lost+found mnt proc selinux tmp
bin dump home media net root srv usr