great !!!
it works.
thanks!!!!
--- In [email protected], Jim Reimer <[EMAIL PROTECTED]> wrote:
>
> Indika Bandara wrote:
>
> > thanks.
>
> > but lftp didn't work.
>
> > here are my env
> > ftp_proxy=ftp://192.168.2.2:3128
> > http_proxy=http://192.168.2.2:3128
>
> > i tried with
> > lftp -d -c 'open -e "get welcome.msg" ftp.kernel.org/welcome.msg'
> > ---- Resolving host address...
> > ---- 3 addresses found
> > ---- Connecting to proxy 192.168.2.2 (192.168.2.2) port 3128
> > cd `ftp://ftp.kernel.org/welcome.msg' [Logging in...]
>
> <snip>
>
> ok.... maybe curl will work. google found this at
http://www.ljfind.com/post/90570408/
>
> <quote>
>
> this help is for linux machines behind a FTP proxy.. (Note: Squid is
not a true FTP Proxy server)
>
> Say the proxy server is squid configured to be running on '
192.168.0.10' Port '3128'
> then some of the things we can do..
>
> * List Files On FTP Server
>
> curl --proxy 192.168.0.10:3128 ftp://qcd:[EMAIL PROTECTED]:21
>
> * Download a file
>
> curl -o STSServerInstaller.exe --proxy 192.168.0.10:3128
ftp://qcd:[EMAIL PROTECTED]:21/STSServerInstaller.exe
>
> * Upload multiple files to the ftp server..
>
> curl --upload-file "{rarlinux-3.6.0.tar.gz,vmlogo.xpm}" --verbose
--proxy 192.168.0.10:3128 ftp://qcd:[EMAIL PROTECTED]:21
>
> Note: We are uploading two files ie. rarlinux-3.6.0.tar.gz and
vmlogo.xpm, similarly we can state more files, with a comma seperated
list.
>
> * We can also give the username/ password in options which is
much safer than using it on the URL.
>
> curl --upload-file "{rarlinux-3.6.0.tar.gz ,vmlogo.xpm}" --verbose
--proxy 192.168.0.10:3128 -u qcd:onevision ftp://sharethespace.com:21
> curl -o STSServerInstaller.exe --proxy 192.168.0.10:3128 -u
qcd:onevision ftp://sharethespace.com:21/STSServerInstaller.exe
> curl --proxy 192.168.0.10:3128 qcd:onevision
ftp://sharethespace.com:21/path/to/file
>
> </quote>
>
> --
> -jdr-
>
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/