windows commandline ftp

I am using the commandline ftp to download a bunch of files everyday and then delete the files from the ftp. The download part works great using mget *. but when I do mdel * I get "550 Access Denied". I tried manually deleting the files using filezilla ftp client and I was able to delete it no problem. I am using the same credentials on both commandline and filezilla. What is the difference?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dav GrayIT ManagerCommented:
Are you running cmd line in Administrator mode?

If not, this might be causing the issue.
tornadogAuthor Commented:
I am already running it as adminsitrator. Thats not it. thanks
Firmin FrederickSenior IT ConsultantCommented:
Do you own the ftp server? Do you know if it's running Microsoft FTP or filezilla or whatever?

Just asking so that we know whether you have access to the ftp server configuration and / or what the actual ftp engine is.

Just off the top of my head the GUI client usually identifies itself, sets transfer protocols, and data transfer type all before authenticating so there is a more complex environment from the start.

The cmd line starts of with very little other than "I'm using ASCII on port  21 here's my user & password".  So yea denying the ftp cmdline client access may be down to the datagram pathway I.E. active or passive FTP, or, it may be a case of invoking admin status before the DEL cmd much like how Linux environments work.

That aside, I vaguely recall being able to set characteristics in IIS 7 and filezilla server that requires or blocks cmd line client in favour of GUI client when it comes to performing sensitive operations.  

Meh! I could be horribly wrong!

Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

tornadogAuthor Commented:
Its a third party ftp server, so I have no control over it. I can download, upload files, just cant delete them from commandline. I am trying to write a script that would download the daily files put there and then delete them. if I can delete, then  I will have to figure out a way to read the file date and only download files from the current day.
tornadogAuthor Commented:
modified the code, to process single file for the day.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tornadogAuthor Commented:
worked around problem since I could not find a true solution
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.