Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

cannot upload to ftp server

Avatar of Li0nel
Li0nelFlag for United Kingdom of Great Britain and Northern Ireland asked on
Windows Server 2003File Sharing SoftwareNetworking Protocols
16 Comments1 Solution634 ViewsLast Modified:
trying to upload to my ftp server but just get a "500 Illigal PORT Error"
This script works on every other system i have installed it on.
I have had a look round and there was a post on here where the resolution was to replace ftp.exe.
This isnt what i was hoping to do, if somebody could explain why this situation is caused maybe I can remove the cause of the error.

Here is the script
@echo off
echo %date%>>rhts.txt
echo user user@domain.co.uk>ftpcmd.dat
echo password>>ftpcmd.dat
echo prompt>>ftpcmd.dat
echo cd uploads>>ftpcmd.dat
echo bin>>ftpcmd.dat
echo put rhts.txt>>ftpcmd.dat
echo quit >>ftpcmd.dat
ftp -n -s:ftpcmd.dat ftp.lionelbaden.co.uk
del ftpcmd.dat
del rhts.txt

I get the Error Right after Put rhts.txt

Thanks in advance
Avatar of Jason Watkins
Jason WatkinsFlag of United States of America imageIT Project Leader

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 16 Comments.
See Answers