1832234 Members
2721 Online
110041 Solutions
New Discussion

Re: ftp user

 
Stephen Young_1
Occasional Advisor

ftp user

Hi,

I have created a secure FTP user but need to let the user create directories, is there a way of doing as at the moment when i use the mkdir command I get the message.
command not understood

Thanks

Steve
4 REPLIES 4
Steven Sim Kok Leong
Honored Contributor

Re: ftp user

Hi,

Since you are already using SFTP, use SSH for the directory creation:

$ ssh -l ftp_user remote_server "mkdir -p /tmp/abc"

Hope this helps. Regards.

Steven Sim Kok Leong
manoj_pu
Regular Advisor

Re: ftp user



Hello

You can copy /usr/bin/mkdir to /$home/usr/bin directory of restricted ftp user.

By doing this that particular user can create directory in its home directory from ftp prompt.

Rgds

Manoj
Leave with out tense and try best you gets result
Stephen Young_1
Occasional Advisor

Re: ftp user

Tried copying /usr/bin/mkdir but still getting command not understood
Krishna Prasad
Trusted Contributor

Re: ftp user

What is the default shell of the ftp user?
Also check the path it may not know where the mkdir command is?
Positive Results requires Positive Thinking