cancel
Showing results for 
Search instead for 
Did you mean: 
haaris
Level 10

Command line ftp from webgateway

Hi.

I have gone through KB McAfee KnowledgeBase - How to allow FTP connections with Web Gateway and able to access through browser but when I am doing the same from command line its not working and I have tried different ways but it not working.

Atttached the screenshot for the same ,so just guide me anyone where I am going wrong..

I have also tried USER  anonymous@custftp2.nai.com

ftp error.JPG

4 Replies
exbrit
Level 21

Re: Command line ftp from webgateway

Moved to MWG for faster support.

---

Peter

Moderator

0 Kudos
McAfee Employee

Re: Command line ftp from webgateway

#connect to MWG

root@PC:~# ftp Proxy 2121

Connected to Proxy.

220 McAfee Web Gateway 7.6.1 - build: 20521

#Proxy User

Name (Proxy:root): USER

331 User name okay, need password.

#Proxy Password

Password:

230 User logged in, proceed.

#to final destination

ftp> user account@server.com

331 User name okay, need password.

Password:

230 User account logged in

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> ls

200 Command okay.

150 File status okay; about to open data connection.

-rw-r--r--   1 root root       9520 Dec 21  2014 file

226 Transfer complete

ftp>

Login sequence can be changed here:

ftp.png

0 Kudos
haaris
Level 10

Re: Command line ftp from webgateway

Hi,

Thanks!!!

But we are not getting anything after the line

150 File status okay; about to open data connection.

0 Kudos
McAfee Employee

Re: Command line ftp from webgateway

Likely active vs. passive FTP. Try using a QUOTE PASV after you log on to MWG, or try setting the options for active/passive in MWG's proxy.

M.

0 Kudos