|
Home > Archive > IIS FTP Server > June 2006 > FTP Command Line Question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
FTP Command Line Question
|
|
| Robin Walker [MVP] 2006-06-16, 5:03 pm |
| Michael <a@a.com> wrote:
> I have a FTP site (IIS 6.0) set up on port 7721. What is the command
> line syntax to use on a windows machine to attach to this?
>
> I tried ftp ftp.domain.com :7721
> and
> ftp ftp.domain.com 7721
>
> And neither works.
ftp -n
then as an ftp command:
open ftp.domain.com 7721
> In addition, when I try to go to ftp://ftp.domain.com:7721 via IE I
> get the following error:
>
> An error occurred opening the folder on the FTP server. Make sure you
> have permission to access this folder.
If the login is password protected, then send IE to
ftp://username@ftp.domain.com:7721/
--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk
| |
| Michael 2006-06-16, 7:19 pm |
| Greetings,
I have a FTP site (IIS 6.0) set up on port 7721. What is the command line
syntax to use on a windows machine to attach to this?
I tried ftp ftp.domain.com :7721
and
ftp ftp.domain.com 7721
And neither works.
I can ftp via command line through Unix just fine.
In addition, when I try to go to ftp://ftp.domain.com:7721 via IE I get the
following error:
An error occurred opening the folder on the FTP server. Make sure you have
permission to access this folder.
Details: The operation timed out.
Any help would be appreciated. Thank you.
| |
| Robin Walker [MVP] 2006-06-16, 7:19 pm |
| Michael <a@a.com> wrote:
> I have a FTP site (IIS 6.0) set up on port 7721. What is the command
> line syntax to use on a windows machine to attach to this?
>
> I tried ftp ftp.domain.com :7721
> and
> ftp ftp.domain.com 7721
>
> And neither works.
ftp -n
then as an ftp command:
open ftp.domain.com 7721
> In addition, when I try to go to ftp://ftp.domain.com:7721 via IE I
> get the following error:
>
> An error occurred opening the folder on the FTP server. Make sure you
> have permission to access this folder.
If the login is password protected, then send IE to
ftp://username@ftp.domain.com:7721/
--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk
| |
| Bernard Cheah [MVP] 2006-06-18, 12:29 am |
| Refer -
How to Connect to a Web or FTP Site Using Non-Default Port
http://support.microsoft.com/?id=229005
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Michael" <a@a.com> wrote in message
news:ev9QgqXkGHA.3536@TK2MSFTNGP05.phx.gbl...
> Greetings,
>
> I have a FTP site (IIS 6.0) set up on port 7721. What is the command line
> syntax to use on a windows machine to attach to this?
>
> I tried ftp ftp.domain.com :7721
> and
> ftp ftp.domain.com 7721
>
> And neither works.
>
> I can ftp via command line through Unix just fine.
>
> In addition, when I try to go to ftp://ftp.domain.com:7721 via IE I get
> the following error:
>
> An error occurred opening the folder on the FTP server. Make sure you have
> permission to access this folder.
>
> Details: The operation timed out.
>
> Any help would be appreciated. Thank you.
>
| |
| Bernard Cheah [MVP] 2006-06-18, 1:24 am |
| Refer -
How to Connect to a Web or FTP Site Using Non-Default Port
http://support.microsoft.com/?id=229005
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Michael" <a@a.com> wrote in message
news:ev9QgqXkGHA.3536@TK2MSFTNGP05.phx.gbl...
> Greetings,
>
> I have a FTP site (IIS 6.0) set up on port 7721. What is the command line
> syntax to use on a windows machine to attach to this?
>
> I tried ftp ftp.domain.com :7721
> and
> ftp ftp.domain.com 7721
>
> And neither works.
>
> I can ftp via command line through Unix just fine.
>
> In addition, when I try to go to ftp://ftp.domain.com:7721 via IE I get
> the following error:
>
> An error occurred opening the folder on the FTP server. Make sure you have
> permission to access this folder.
>
> Details: The operation timed out.
>
> Any help would be appreciated. Thank you.
>
| |
| Michael 2006-06-19, 11:29 am |
| Thanks guys for the responses. Still have about the same issue though.
I can use the ftp -n and log on correctly. However, just a simple "ls" or
"dir" will time out- it will never come back. Same issue using IE. I get
the same error using
ftp://username@ftp.domain.com:7721/
I authenticate just fine, but never get any listing of files.
Now, if I use some other FTP client (CuteFTP, WinFTP) everything works
great. I can upload, download, etc.
The FTP server IS behind a NAT firewall, if that makes a difference.
"Robin Walker [MVP]" <rdhw@cam.ac.uk> wrote in message
news:esYGxCZkGHA.4716@TK2MSFTNGP03.phx.gbl...
> Michael <a@a.com> wrote:
>
>
> ftp -n
>
> then as an ftp command:
>
> open ftp.domain.com 7721
>
>
> If the login is password protected, then send IE to
>
> ftp://username@ftp.domain.com:7721/
>
> --
> Robin Walker [MVP Networking]
> rdhw@cam.ac.uk
>
| |
| Robin Walker [MVP] 2006-06-19, 12:59 pm |
| Michael <a@a.com> wrote:
> I can use the ftp -n and log on correctly. However, just a simple
> "ls" or "dir" will time out- it will never come back. Same issue
> using IE. I get the same error using
>
> ftp://username@ftp.domain.com:7721/
>
> I authenticate just fine, but never get any listing of files.
>
> Now, if I use some other FTP client (CuteFTP, WinFTP) everything works
> great. I can upload, download, etc.
>
> The FTP server IS behind a NAT firewall, if that makes a difference.
I can only reconcile what you have said above if the FTP *client* is behind
a NAT router, not the *server*.
Your average NAT router cannot process Active PORT-mode FTP connections made
to non-standard ports (i.e. other than port 21). Passive-mode connections
will work to non-standard ports.
Your use of port 7721 is non-standard, so NAT routers cannot do their magic.
--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk
| |
| Michael 2006-06-19, 1:22 pm |
| Thanks guys for the responses. Still have about the same issue though.
I can use the ftp -n and log on correctly. However, just a simple "ls" or
"dir" will time out- it will never come back. Same issue using IE. I get
the same error using
ftp://username@ftp.domain.com:7721/
I authenticate just fine, but never get any listing of files.
Now, if I use some other FTP client (CuteFTP, WinFTP) everything works
great. I can upload, download, etc.
The FTP server IS behind a NAT firewall, if that makes a difference.
"Robin Walker [MVP]" <rdhw@cam.ac.uk> wrote in message
news:esYGxCZkGHA.4716@TK2MSFTNGP03.phx.gbl...
> Michael <a@a.com> wrote:
>
>
> ftp -n
>
> then as an ftp command:
>
> open ftp.domain.com 7721
>
>
> If the login is password protected, then send IE to
>
> ftp://username@ftp.domain.com:7721/
>
> --
> Robin Walker [MVP Networking]
> rdhw@cam.ac.uk
>
| |
| Robin Walker [MVP] 2006-06-19, 1:22 pm |
| Michael <a@a.com> wrote:
> I can use the ftp -n and log on correctly. However, just a simple
> "ls" or "dir" will time out- it will never come back. Same issue
> using IE. I get the same error using
>
> ftp://username@ftp.domain.com:7721/
>
> I authenticate just fine, but never get any listing of files.
>
> Now, if I use some other FTP client (CuteFTP, WinFTP) everything works
> great. I can upload, download, etc.
>
> The FTP server IS behind a NAT firewall, if that makes a difference.
I can only reconcile what you have said above if the FTP *client* is behind
a NAT router, not the *server*.
Your average NAT router cannot process Active PORT-mode FTP connections made
to non-standard ports (i.e. other than port 21). Passive-mode connections
will work to non-standard ports.
Your use of port 7721 is non-standard, so NAT routers cannot do their magic.
--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk
| |
| Michael 2006-06-19, 1:24 pm |
| Hmmm. Both the client AND the server are actually behind NAT
routers/firewalls.
So, does this mean that CuteFTP and WSFTP are using passive connections,
whereas command line utilities and IE are using active mode?
"Robin Walker [MVP]" <rdhw@cam.ac.uk> wrote in message
news:OrF$mo8kGHA.1028@TK2MSFTNGP04.phx.gbl...
> Michael <a@a.com> wrote:
>
>
> I can only reconcile what you have said above if the FTP *client* is
> behind a NAT router, not the *server*.
>
> Your average NAT router cannot process Active PORT-mode FTP connections
> made to non-standard ports (i.e. other than port 21). Passive-mode
> connections will work to non-standard ports.
>
> Your use of port 7721 is non-standard, so NAT routers cannot do their
> magic.
>
> --
> Robin Walker [MVP Networking]
> rdhw@cam.ac.uk
>
| |
| Robin Walker [MVP] 2006-06-19, 5:16 pm |
| Michael <a@a.com> wrote:
> Hmmm. Both the client AND the server are actually behind NAT
> routers/firewalls.
>
> So, does this mean that CuteFTP and WSFTP are using passive
> connections,
They can be configured either way.
> whereas command line utilities and IE are using active mode?
Command-line FTP is active mode only.
IE is supposedly configurable, but is quirky.
--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk
| |
| Michael 2006-06-19, 7:22 pm |
| Hmmm. Both the client AND the server are actually behind NAT
routers/firewalls.
So, does this mean that CuteFTP and WSFTP are using passive connections,
whereas command line utilities and IE are using active mode?
"Robin Walker [MVP]" <rdhw@cam.ac.uk> wrote in message
news:OrF$mo8kGHA.1028@TK2MSFTNGP04.phx.gbl...
> Michael <a@a.com> wrote:
>
>
> I can only reconcile what you have said above if the FTP *client* is
> behind a NAT router, not the *server*.
>
> Your average NAT router cannot process Active PORT-mode FTP connections
> made to non-standard ports (i.e. other than port 21). Passive-mode
> connections will work to non-standard ports.
>
> Your use of port 7721 is non-standard, so NAT routers cannot do their
> magic.
>
> --
> Robin Walker [MVP Networking]
> rdhw@cam.ac.uk
>
| |
| Robin Walker [MVP] 2006-06-19, 7:22 pm |
| Michael <a@a.com> wrote:
> Hmmm. Both the client AND the server are actually behind NAT
> routers/firewalls.
>
> So, does this mean that CuteFTP and WSFTP are using passive
> connections,
They can be configured either way.
> whereas command line utilities and IE are using active mode?
Command-line FTP is active mode only.
IE is supposedly configurable, but is quirky.
--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk
|
|
|
|
|