linux ftp, ncftp etc

linux ftp, ncftp etc

Post by Riyaz Mansoo » Thu, 14 Jun 2001 15:20:31



hi

my internet connection only allows me to ftp thru [the settings on] my
proxy. but does the above ftp apps allow this? is there any ftp clients
available that does this? at the moment i have redhat 7.1, does it have
such an ftp client?

riyaz

 
 
 

linux ftp, ncftp etc

Post by Robert Davie » Thu, 14 Jun 2001 16:50:07



> my internet connection only allows me to ftp thru [the settings on] my
> proxy. but does the above ftp apps allow this? is there any ftp clients
> available that does this? at the moment i have redhat 7.1, does it have
> such an ftp client?

From man ncftp, they seem to have it covered.

FIREWALL AND PROXY CONFIGURATION

 You may find that your network administrator has placed a firewall between
your machine and the Internet, and that you cannot reach external hosts.

 The answer may be as simple as setting ncftp to use passive mode only,
which you can do from a ncftp command prompt like this:

set passive on

 The reason for this is because many firewalls do not allow incoming
connections to the site, but do allow users to establish outgoing
connections. A passive data connection is established by the client to the
server, whereas the default is for the server to establish the connection
to the client, which firewalls may object to. Of course, you now may have
problems with sites whose primitive FTP servers do not support passive
mode.

 Otherwise, if you know you need to have ncftp communicate directly with a
firewall or proxy, you can try editing the separate $HOME/.ncftp/firewall
configuration file. This file is created automatically the first time you
run the program, and contains all the information you need to get the
program to work in this setup.

 The basics of this process are configuring a firewall (proxy) host to go
through, a user account and password for authentication on the firewall,
and which type of firewall method to use. You can also setup an exclusion
list, so that ncftp does not use the firewall for hosts on the local
network.

 
 
 

linux ftp, ncftp etc

Post by Riyaz Mansoo » Fri, 15 Jun 2001 02:05:12


as far as i can tell, passive does not work. i've tried ftp and ncftp. the
proxy is an http proxy which ncftp does not support.

any other tips?



>> my internet connection only allows me to ftp thru [the settings on] my
>> proxy. but does the above ftp apps allow this? is there any ftp clients
>> available that does this? at the moment i have redhat 7.1, does it have
>> such an ftp client?

> From man ncftp, they seem to have it covered.

> FIREWALL AND PROXY CONFIGURATION

>  You may find that your network administrator has placed a firewall
>  between
> your machine and the Internet, and that you cannot reach external hosts.

>  The answer may be as simple as setting ncftp to use passive mode only,
> which you can do from a ncftp command prompt like this:

> set passive on

>  The reason for this is because many firewalls do not allow incoming
> connections to the site, but do allow users to establish outgoing
> connections. A passive data connection is established by the client to the
> server, whereas the default is for the server to establish the connection
> to the client, which firewalls may object to. Of course, you now may have
> problems with sites whose primitive FTP servers do not support passive
> mode.

>  Otherwise, if you know you need to have ncftp communicate directly with a
> firewall or proxy, you can try editing the separate $HOME/.ncftp/firewall
> configuration file. This file is created automatically the first time you
> run the program, and contains all the information you need to get the
> program to work in this setup.

>  The basics of this process are configuring a firewall (proxy) host to go
> through, a user account and password for authentication on the firewall,
> and which type of firewall method to use. You can also setup an exclusion
> list, so that ncftp does not use the firewall for hosts on the local
> network.

 
 
 

linux ftp, ncftp etc

Post by David Efflan » Fri, 15 Jun 2001 03:26:06



> as far as i can tell, passive does not work. i've tried ftp and ncftp. the
> proxy is an http proxy which ncftp does not support.

Yes, but have you edited $HOME/.ncftp/firewall for your firewall-host and
firewall-port, maybe with firewall-type=1?  Can Netscape access ftp://
URL's when properly configured for your proxy.

Quote:> any other tips?

Get a different ISP.  Otherwise you may never be able to telnet or ssh to
an internet host (free shell acct, etc.), or use any other POP3 servers,
or do irc, or use time servers...



>>> my internet connection only allows me to ftp thru [the settings on] my
>>> proxy. but does the above ftp apps allow this? is there any ftp clients
>>> available that does this? at the moment i have redhat 7.1, does it have
>>> such an ftp client?

>> From man ncftp, they seem to have it covered.

>> FIREWALL AND PROXY CONFIGURATION

>>  You may find that your network administrator has placed a firewall
>>  between
>> your machine and the Internet, and that you cannot reach external hosts.

>>  The answer may be as simple as setting ncftp to use passive mode only,
>> which you can do from a ncftp command prompt like this:

>> set passive on

>>  The reason for this is because many firewalls do not allow incoming
>> connections to the site, but do allow users to establish outgoing
>> connections. A passive data connection is established by the client to the
>> server, whereas the default is for the server to establish the connection
>> to the client, which firewalls may object to. Of course, you now may have
>> problems with sites whose primitive FTP servers do not support passive
>> mode.

>>  Otherwise, if you know you need to have ncftp communicate directly with a
>> firewall or proxy, you can try editing the separate $HOME/.ncftp/firewall
>> configuration file. This file is created automatically the first time you
>> run the program, and contains all the information you need to get the
>> program to work in this setup.

>>  The basics of this process are configuring a firewall (proxy) host to go
>> through, a user account and password for authentication on the firewall,
>> and which type of firewall method to use. You can also setup an exclusion
>> list, so that ncftp does not use the firewall for hosts on the local
>> network.

--
David Efflandt  (Reply-To is valid)  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/
 
 
 

linux ftp, ncftp etc

Post by Riyaz Mansoo » Fri, 15 Jun 2001 10:43:07



> Yes, but have you edited $HOME/.ncftp/firewall for your firewall-host and
> firewall-port, maybe with firewall-type=1?  Can Netscape access ftp://
> URL's when properly configured for your proxy.

i tried 3 and 6 which seemed the closest to me. but i'll try 1.

Quote:

> > any other tips?

> Get a different ISP.  Otherwise you may never be able to telnet or ssh to
> an internet host (free shell acct, etc.), or use any other POP3 servers,
> or do irc, or use time servers...

hehe. can't switch. :(

on a different note, aren't there linux ftp clients that handle http
proxy/firewalls?

well maybe the same note.

riyaz

 
 
 

linux ftp, ncftp etc

Post by Robert Davie » Fri, 15 Jun 2001 19:30:00




>> Yes, but have you edited $HOME/.ncftp/firewall for your firewall-host and
>> firewall-port, maybe with firewall-type=1?  Can Netscape access ftp://
>> URL's when properly configured for your proxy.

> i tried 3 and 6 which seemed the closest to me. but i'll try 1.

>> > any other tips?

>> Get a different ISP.  Otherwise you may never be able to telnet or ssh to
>> an internet host (free shell acct, etc.), or use any other POP3 servers,
>> or do irc, or use time servers...

> hehe. can't switch. :(

> on a different note, aren't there linux ftp clients that handle http
> proxy/firewalls?

Yes there are, ncftp for one!  The question is though, wether your
proxy/firewall using some * undocumented proprietary format with
special windows only clients, that noone can write programs for?  I find
that unlikely, more likely is that you have made a configuration error.

As an alternative, does your browser use a proxy?  These support ftp as
well, so you could use the browser for ftp downloads if you tell it to use
the proxy for all protocols.

The right solution is to find out what proxy you are offered, and configure
your ftp client to use that.

Rob

 
 
 

linux ftp, ncftp etc

Post by David Efflan » Fri, 15 Jun 2001 22:10:45




>> Yes, but have you edited $HOME/.ncftp/firewall for your firewall-host and
>> firewall-port, maybe with firewall-type=1?  Can Netscape access ftp://
>> URL's when properly configured for your proxy.

> i tried 3 and 6 which seemed the closest to me. but i'll try 1.

> on a different note, aren't there linux ftp clients that handle http
> proxy/firewalls?

You have not said what proxy/firewall (if you know), what you have to
set to access it with your web browser, or whether you can access
anonymous ftp sites with it from your browser.  Until you answer those
questions anybody would be guessing.

If it proxies http ONLY, see if you can find a Unix sheel account on the
internet that will allow you to run httptunnel:

http://www.nocrew.org/software/httptunnel.html

--
David Efflandt  (Reply-To is valid)  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

 
 
 

linux ftp, ncftp etc

Post by Rev. Cyohte » Fri, 15 Jun 2001 22:30:46



issued forth:


>> Yes, but have you edited $HOME/.ncftp/firewall for your firewall-host and
>> firewall-port, maybe with firewall-type=1?  Can Netscape access ftp://
>> URL's when properly configured for your proxy.

>i tried 3 and 6 which seemed the closest to me. but i'll try 1.

>> > any other tips?

>> Get a different ISP.  Otherwise you may never be able to telnet or ssh to
>> an internet host (free shell acct, etc.), or use any other POP3 servers,
>> or do irc, or use time servers...

>hehe. can't switch. :(

>on a different note, aren't there linux ftp clients that handle http
>proxy/firewalls?

>well maybe the same note.

>riyaz

If you are not against using a GUI one, I believe IglooFTP for X
allows it (I know it allows PASV mode, and I think I remember
something about proxy settings. Not sure since I haven't used it in
over a year and I am not at my Linux box at the moment to load it up
and check)

--

[K'Ehleyr breaks a glass table as Deanna Troi walks in the door]
"You're upset" -- Troi
"Your finely honed Betazoid senses tell you that" -- K'Ehleyr
"That and the table" -- Troi (The Emissary)

 
 
 

linux ftp, ncftp etc

Post by Robert Davie » Sat, 16 Jun 2001 00:29:36





> You have not said what proxy/firewall (if you know), what you have to
> set to access it with your web browser, or whether you can access
> anonymous ftp sites with it from your browser.  Until you answer those
> questions anybody would be guessing.

You're so right!  Hopefully he'll take our hints on this, either he
guesses, we do, or he goes get some information :)

Rob

 
 
 

linux ftp, ncftp etc

Post by Riyaz Mansoo » Sun, 17 Jun 2001 00:06:54


i've already said that its an http proxy to a reply post to Robert. the
ncftp config file says ncftp does not support this.

so there is nothing to guess.

<quote .ncftp/firewall>
# NOTE:  NcFTP does NOT support HTTP proxies that do FTP, such as "squid"
#     or Netscape Proxy Server.  Why?  Because you have to communicate with
#     them using HTTP, and this is a FTP only program.
</quote>

thanx to all the help anyway.

riyaz

Quote:>> You have not said what proxy/firewall (if you know), what you have to
>> set to access it with your web browser, or whether you can access
>> anonymous ftp sites with it from your browser.  Until you answer those
>> questions anybody would be guessing.

> You're so right!  Hopefully he'll take our hints on this, either he
> guesses, we do, or he goes get some information :)

> Rob

 
 
 

linux ftp, ncftp etc

Post by Robert Davie » Sun, 17 Jun 2001 21:38:03



> i've already said that its an http proxy to a reply post to Robert. the
> ncftp config file says ncftp does not support this.

> so there is nothing to guess.

Right well when I answered 2nd time, I said to use the browser if it's an
HTTP proxy.

Quote:> As an alternative, does your browser use a proxy?  These support ftp as
> well, so you could use the browser for ftp downloads if you tell it to
use
> the proxy for all protocols.
> The right solution is to find out what proxy you are offered, and
configure
> your ftp client to use that.

Rob
 
 
 

1. Speed comparision between ncftp and termftp etc.

Hi, Dear netters, Could anyone tell me how those ftp clients perform? I
get them running over my Hayes ACCURA144, but the speed is much slower
than a normal ZMODEM. termftp: 0.69Kbps , ncftp: around 1.2Kbps. ZMODEM:
1.6Kbps. Did I do something wrong? Anyone got fast speed like 1.6K+bps?
Thank you for your instructions.

--
----------------------------------------------------------------------------+

|                                 |Office Phone:  (212)998-7748             |
|Department of Physics            |Home Phone:    (718)699-8542 (Voice)     |
|New York University              |               (718)699-8542 (Fax modem) |
|New York, New York 10003         |2nd Home Phone:(718)271-2756 (Voice)     |
+---------------------------------------------------------------------------+

2. efence

3. LINUX, 3COM ImpactIQ, ISDN, etc, etc, etc...

4. Linux Success Stories

5. Question about ncftp vs ftp

6. Connection Speed Dropping

7. ncftp hangs to ftp.netbsd.org?

8. chroot QMail

9. ftp/ncftp hang or timeout on large files

10. ftp and ncftp --- date and time of download file; timeout

11. ftp site for ncftp

12. HELP! FTP and ncftp won't work!

13. wu_ftpd anon ftp user can't ls -l or use ncftp