LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gFTP and ftp connecting through proxy (https://www.linuxquestions.org/questions/linux-software-2/gftp-and-ftp-connecting-through-proxy-280446/)

smkamene 01-21-2005 05:19 AM

gFTP and ftp connecting through proxy
 
Hi guys. We have a ftp proxy server at my job where we have to login to the proxy first and then ftp out to the outside world. For some reason i am able to do it with gFTP when i select SITE for my proxy server type, but when i try to connect from the cli (ftp myproxyserver.mynetwork.com) i get to login to the proxy server but from there on i get immediatly disconnected, i dont even get a chance to try ftp to the outside world. I am trying to figure out what gFTP does special with this SITE command because that's what i see its doing when its logging in. This is a log from gFTp while connecting to debian ftp site.

Looking up myproxyserver.mynetwork.com
Trying myproxyserver.mynetwork.com:21
Connected to myproxyserver.mynetwork.com:21
220 Check Point FireWall-1 Secure FTP server running on myproxyserver.mynetwork.com
USER johndoe

331 password: you can use RADIUS-password
PASS xxxx
200-User johndoe authenticated by Radius authentication
200 Host: you can use 'quote hostname' or Account command ('ACCT')
SITE ftp.debian.org

230-Connected to server. Logging in...
230 220 saens.debian.org FTP server (vsftpd)
USER anonymous

331 Please specify the password.
PASS xxxx
230-
230-This site is just another one in a worldwide array of Debian mirrors.
230-It is not the "primary Debian FTP site" -- it is merely an official

masand 01-21-2005 09:05 AM

what i think the problem is

gftp use HTTP proxy to get on to FTP sites

if u are using ur shell then how do u get to use the proxy feature
this feature has to be in the applications like gftp and browsers

regards

smkamene 01-21-2005 08:21 PM

they way our proxy server works is first you ftp into the proxy server itself, once you are athenticated you are able to ftp out to the outside world. It's something the gFTP issues with the SITE commmand that i cann't do from the cli. Looking and gFTP log the only difference i see is the SITE command. But if i try to run site once i am logged in to the proxy server, it says not connected as if i got kicked off. Weird stuff


All times are GMT -5. The time now is 08:33 PM.