Ftp absolute path

efic

Distinguished
Jun 17, 2011
5
0
18,510
Hello,

I'm trying to ftp a file from a HPUX server to a windows 2003 ftp server using the full path i.e. mput /tmp/file.txt. This comes back with a file not found 550 error. I can upload the file by doing a cd /tmp so this isn't a permissions problem. Is it possible to put a file using the full path name?

Thanks
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
This really does sound like some form of permission issue, there are multiple types of write permission that various servers allow (e.g. create a new file vs. create a new directory vs. delete either), you should take a quick read of the FTP server's documentation and pay special attention to the write permissions portion. It may be something silly (but overall more secure) like the server sees that you're trying to write to a file but a portion of the path (namely, /) is a path where the user/"anonymous" doesn't have write permission.