First you have to make sure you have a FTP server listening on port 20.  You
cannot connect to just any port.  You can configure virtual FTP sites with
the same name as the user profile you logon with.  This allows you to
automatically put the FTP user into their own directory.  Still uses the
standard port of 21 for control and 20 for data transfer.

Christopher K. Bipes      mailto:ChrisB@Cross-Check.com
Operations & Network Mgr  mailto:Chris_Bipes@Yahoo.com
CrossCheck, Inc.                  http://www.cross-check.com
6119 State Farm Drive     Phone: 707 586-0551 x 1102
Rohnert Park CA  94928    Fax: 707 586-1884

-----Original Message-----
From: Angela Wawrzaszek [mailto:awawrzaszek@nucorauburn.com]
Sent: Thursday, January 10, 2002 11:48 AM
To: Midrange Mail List (E-mail)
Subject: FTP to a port number on a computer


     My ultimate goal is to be able from an outside source FTP to a server
at our business.  We have several companies and we would like them to all
send there files to a specific folder.  This process should be able to be
automated.    I created a bat program that would FTP to an IP ( the IP
specified is internal, once I get that working I will try to use do this
with the external IP from home.)    The default port for TCP/IP is 21,  I
would like to go to port 20.

Here is my bat pgm.

open 192.168.0.245 [20]
user
password
put \\root\home\file.txt newfile.txt
quit


It gives me an error of invalid port number.

If I remove the port number I can run this from DOS,  put it puts my file to
the default port.  My .bat program will not run,  it tells me invalid login.

I can do the FTP from an HTML address line.

Anyone know what I am doing wrong or another way to send a txt file to
another sever ( with the idea that to some it will not be an internal
server)

Thanks!!!


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.