all groups > iis ftp > february 2007 >
You're in the

iis ftp

group:

please explain the colon in an FTP address



please explain the colon in an FTP address Eric Bragas
2/28/2007 3:09:56 PM
iis ftp: Hi All,

I work for a company that delivers reports to customers via FTP
monthly, and it's done automatically using a script that steps through
every row in a table. (Each row holds an FTP address, login name,
password, and file name to upload. You probably get the idea.)

Now one of our customers has thrown a wrench in the works by changing
their FTP server to something with a colon in it. (For example,
"download.companyname.com:2100" instead of just
"download.companyname.com".) Our script cannot connect to their
server even though I've updated the FTP address value to include the ":
2100".

I know from trying internet explorer that I can't connect to this ftp
server and get presented with a login window if I don't include the ":
2100". IE returns the "cannot display the webpage" error page, but if
I try IE using the entire FTP server address--that is, WITH the ":
2100"--I get presented with the login window, I login, no problem.
OK, it follows that this colon and number are important.

My problem surfaces when it's time to upload to that particular FTP
server. I simply cannot get connected using the command line FTP or
the little free FTP app some of our scripts use.

What is this ":2100," and why can I only connect manually to this FTP
server?

Thanks for ignoring the irrelevant parts and filling in whatever
important assumptions need to be made.

Eric
Re: please explain the colon in an FTP address Bernard Cheah [MVP]
3/1/2007 12:00:00 AM
by default ftp bind at port 21. The 2100 will be non default port the ftp
server admin has configured.

for command prompt if you like to connect to port 2100, do the following

c:\>ftp.exe

ftp> open ftpserverip 2100



--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: please explain the colon in an FTP address Eric Bragas
3/1/2007 4:25:53 PM
Thank you very much, this solves my problem.
AddThis Social Bookmark Button