1833590 Members
3966 Online
110061 Solutions
New Discussion

FPT error

 
SOLVED
Go to solution
Anthony khan
Frequent Advisor

FPT error

Hi Forum,

I have created a ftp id for our client, they can get the file from my box but when they trying to put the file they get an error

ftp> put c:\sb1.bat
200 PORT command successful
550 This command is not allowed when PUT operations are not permitted.

I ask them to use just put and filename but they are getting the same error. Can someone help me out in this.

Thanxs
12 REPLIES 12
Patrick Wallek
Honored Contributor

Re: FPT error

It sounds like a permissions problem. The id that they are logging in with probably does not have write access to the directory or, if the file already exists, they may not have access to overwrite the file.

Check the directory permissions and the file permissions and make sure the id has the appropriate access.
Mark Greene_1
Honored Contributor
Solution

Re: FPT error

what steps did you take to create the id, and what are the permissions on the entire directory path where they are trying to put the file? Oh, and what version HP?

--
mark
the future will be a lot like now, only later
Sanjay_6
Honored Contributor

Re: FPT error

Hi Anthony,

don't use the c:\,

Just try,

ftp> put sb1.bat

you should be in the directory where sb1.bat file exist on the local system.

Hope this helps.

Regds
James R. Ferguson
Acclaimed Contributor

Re: FPT error

Hi Anthony:

Do you have an 'etc/ftpd/ftpaccess' with overwrite controls or uploads? See 'man 4 ftpaccess' for more details. This would assume an 11.x server or a 10.x server on which 'wu-ftpd' had been loaded.

Regards!

...JRF...
Anthony khan
Frequent Advisor

Re: FPT error

I hate to say guys its a SUN box running Solaris 2.6, the permission is 777 for that directory, but the question is if they can get the file why can't they do put, its a bank trying to get and put the files
Anthony khan
Frequent Advisor

Re: FPT error

this my ftpaccess look like

class all real,guest,anonymous *

limit all 25 Any /etc/msgs/msg.dead

readme README* login
readme README* cwd=*

message /welcome.msg login
message .message cwd=*

compress yes local remote
tar yes local remote

log commands real
log transfers anonymous,real inbound,outbound
Patrick Wallek
Honored Contributor

Re: FPT error

When they try to put a file, does the file already exist on the Sun box?

If so, what are its permissions? Does the id they are using have permission to write that file?
Mark Greene_1
Honored Contributor

Re: FPT error

>>but the question is if they can get the file why can't they do put, its a bank trying to get and put the files <<

If they are getting a 550 error, that is permissions. Either on the directory, the file itself. Check the permissions and the ownership. Also run fuser against the file to see if the process that has created it has let go, otherwise you cannot overwrite it.

HTH
mark
the future will be a lot like now, only later
Anthony khan
Frequent Advisor

Re: FPT error

Hi Patrick,
No there's no file in that directory, the dir is own by ftpuser
Anthony khan
Frequent Advisor

Re: FPT error

Anyone know if there is any Solaris forum.
Sanjay_6
Honored Contributor

Re: FPT error

Hi,

you can try sun Bigadmin forum,

http://www.sun.com/bigadmin/;$sessionid$CLGALGW45WIGRAMTA1FU4GQ

Go to sun.com

and then system admin / big admin.

Hope this helps.

Regds
Mark Greene_1
Honored Contributor

Re: FPT error

you can try at the usenet newsgroup comp.unix.solaris. Here's the google url for it:

http://groups.google.com/groups?hl=en&group=comp.unix.solaris

good luck,
mark
the future will be a lot like now, only later