Decarn
asked on
FTP: 550 Access Denied
Hi,
I have just set up FTP service on Windows XP on a stand alone computer. I am using Windows XP command prompt to do a ftp into the local host.
My default FTP folder is C:\Inetpub\ftproot and I can 'put' and 'delete' a file. I can also mkdir but I cannot delete the directory that I created. I also cannot put the file into the directory that I created. Any ideas?
I have just set up FTP service on Windows XP on a stand alone computer. I am using Windows XP command prompt to do a ftp into the local host.
My default FTP folder is C:\Inetpub\ftproot and I can 'put' and 'delete' a file. I can also mkdir but I cannot delete the directory that I created. I also cannot put the file into the directory that I created. Any ideas?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://forums.iis.net/p/1166332/1938945.aspx
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You don't have write permission on the directory you created. And you can't create or change permissions remotely with Windows FTP.
This previous thread discusses(and resolves) the "FTP: 550 Access Denied" error, and although the problem is not quite the same as yours the ideas may help ...the firewall issue, for example >>
"IIS 6.0 FTP error 550, Access is Denied":
https://www.experts-exchange.com/questions/21758365/IIS-6-0-FTP-error-550-Access-is-Denied.html
Also....
550 Access denied. Why I cannot upload to FTP?
https://www.experts-exchange.com/questions/21460728/550-Access-denied-Why-I-cannot-upload-to-FTP.html
"IIS 6.0 FTP error 550, Access is Denied":
https://www.experts-exchange.com/questions/21758365/IIS-6-0-FTP-error-550-Access-is-Denied.html
Also....
550 Access denied. Why I cannot upload to FTP?
https://www.experts-exchange.com/questions/21460728/550-Access-denied-Why-I-cannot-upload-to-FTP.html
ASKER
Hi Guys,
Figured out a few issues. I am able to use RM to remove the empty directory and I can put and delete the file if I go to the exact path name. Problem is I can't put or delete if I am not at the exact path name. Please refer to the code.
I'm doing a FTP on the same FTP computer with XP firewall off.
Figured out a few issues. I am able to use RM to remove the empty directory and I can put and delete the file if I go to the exact path name. Problem is I can't put or delete if I am not at the exact path name. Please refer to the code.
I'm doing a FTP on the same FTP computer with XP firewall off.
C:\>ftp fj80076
Connected to FJ80076.
220 Microsoft FTP Service
User (FJ80076:(none)): administrator
331 Password required for administrator.
Password:
230 User administrator logged in.
ftp> pwd
257 "/" is current directory.
ftp> mkdir folderA
257 "folderA" directory created.
ftp> put abc.txt /folderA/
200 PORT command successful.
550 /folderA: Access is denied.
ftp> cd folderA
250 CWD command successful.
ftp> pwd
257 "/folderA" is current directory.
ftp> put abc.txt
200 PORT command successful.
150 Opening ASCII mode data connection for abc.txt.
226 Transfer complete.
ftp: 11 bytes sent in 0.00Seconds 11000.00Kbytes/sec.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
abc.txt
226 Transfer complete.
ftp: 9 bytes received in 0.00Seconds 9000.00Kbytes/sec.
ftp> cd ..
250 CWD command successful.
ftp> del folderA
550 folderA: Access is denied.
ftp> cd /folderA/
250 CWD command successful.
ftp> del abc.txt
250 DELE command successful.
ftp> cd ..
250 CWD command successful.
ftp> rm folderA
250 RMD command successful.
ftp>
Looks like perfectly normal FTP to me. Unlike Windows Explorer, plain command line FTP will Not delete a directory that is not empty. GUI FTP programs like CoreFTP do all that for you in the background like Windows Explorer does. Command line FTP doesn't automate anything for you.
ASKER
Hi Dave,
Please refer to commands below. You mean it's normal too?
ftp> put abc.txt /folderA/
200 PORT command successful.
550 /folderA: Access is denied.
Please refer to commands below. You mean it's normal too?
ftp> put abc.txt /folderA/
200 PORT command successful.
550 /folderA: Access is denied.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks especially to Dave.
Didn't know that plain windows FTP command line can't copy a file directly to a directory. I thought if Linux can so can Windows. I thought wrong.
Didn't know that plain windows FTP command line can't copy a file directly to a directory. I thought if Linux can so can Windows. I thought wrong.