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!!!

Angela Wawrzaszek
Nucor Steel Auburn INC.
Programmer/Analyst
(315) 258 4205
wawrzaszek@nucorauburn.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.