Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP sites (connecting to anything other than default)

Status
Not open for further replies.

gfunk123

IS-IT--Management
May 22, 2001
143
GB
excuse my ignorance on this , but if i have more than one ftp site on an IIS 4 server how do i connect to the second one - If i use the command 'ftp 172.19.x.x' from a remote box to get to the server it always goes to the default ftp site. Am I missing something here?. Is it based on the user that logs in and if so how does that work then ??

Any help would be greatly appreciated

gary
 
I've never set up 2 FTP servers on 1 IIs box but here is a general idea of your problem.

FTP assumes a certain port. So when you use ftp 172.19.x.x it assumes you want to use the standard FTP port (I think its port 21) and it goes there. When you have another FTP site on the same IP you need to use a different port.

So go into IIs, check what port you're using for the second site and then issue the ftp command like this:

ftp
open 172.19.x.x port#


That should work. If it doesn't come back and let me know.
 
Or another approach -- under the default FTP site in IIS, create a virtual directory (right click on the default FTP site). Create your alias (userid) and then provide the path to the directory where you want this alias to have access (inetpub/
Hope this help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top