Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.8k views
in .NET FTP by (220 points)
when I try to delete a file, I receive the following error "access denied: code 550"

This the code

Dim f As New EnterpriseDT.Net.Ftp.FTPConnection

f.ServerAddress = "192.168.1.3"
f.ServerPort = 21
f.UserName = "anonymous"
f.Password = ""

f.Connect()
f.DeleteFile("prova.txt")
f.Close()

the file is located in the server FTP directory with anonymous authentication and all permissions..
i don't have problem to download file

can you help me?

2 Answers

0 votes
by (220 points)
I use Windows XP..

I have tried to delete the file from Explorer, using "ftp://192.168.1.3", and I have the same problem (access denied: code 550)

I think that it is a permission problem but I don't know how resolve it

Can someone help me?
0 votes
by (162k points)
Your user account doesn't have permission to delete the file it seems. You need to use a user that does.

Categories

...