Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

FTP script through Firewall

Olivier B
Advisor

FTP script through Firewall

Hello,

I am not big contributor, because i am always too late to answer...
Now I need you, I can't find the beginning of the Ariadne's clew.

I used to get Patch from HP with a script using ftp commands.
A firewall has been installed.
We have to configure the web browser with a proxy server on a specific port and to be identified with our Active Directory User/Pass to be able to use FTP.
My script don't work any more.

Is there a way for FTP in a DCL script to use the same configuration option as the web browser?
Or I will be reduced to be the DCL/FTP interpretor/processor of my script?

Thanks for any idea, experience...
6 REPLIES
Craig A
Valued Contributor

Re: FTP script through Firewall

If what you are saying is that you had a DCL script that was working. But following the installation of the firewall, the script no longer works.

I would suggest you speak to the person who installed/configured your firewall and get an understanding of what traffic needs to be permitted for the DCL to once again work.

HTH

Craig A

labadie_1
Honored Contributor

Re: FTP script through Firewall

May be you should use Python and urllib2.

I see at
http://www.voidspace.org.uk/python/articles/urllib2.shtml

among other things

Proxies
urllib2 will auto-detect your proxy settings and use those

get the LD devices at
http://www.vmspython.org/DownloadAndInstallationPython

Make Python available only for your process, and try urllib2
Steven Schweda
Honored Contributor

Re: FTP script through Firewall

I never use them, so I know nothing, but
wget has some proxy-related options which
might be useful, depending on the details of
your (unidentified) proxy server.

http://antinode.info/dec/sw/wget.html

cURL (available elsewhere) could be good,
too.
Hoff
Honored Contributor

Re: FTP script through Firewall

Start with a discussion of whomever raised the firewall here.

Ask for a host-based exemption at the firewall, or for an alternative solution, or for an escalation path into the administration.

I don't know if HP permits sftp into the servers. That would be worth checking.

If you want to pursue the direct transfer and direct approach, then you'll want to investigate and test with the cURL port for OpenVMS. cURL can like do what is required here (either via the http path, or via ftp), though you'll want to discuss the whole sequence with the administration.

http://curl.haxx.se/download.html#VMS
http://labs.hoffmanlabs.com/node/386
Olivier B
Advisor

Re: FTP script through Firewall

Answer from firewall administration is only :
The servers cannot be added in proxy because the permission to download from internet is given in user level and not in computer level.

I will have a look at FTP with SSL in a first step. Tools seems to be interesting but it will take more time to understand, install and test.

I will have to wait for enough spare time faced to priority.
Hoff
Honored Contributor

Re: FTP script through Firewall

>The servers cannot be added in proxy because the permission to download from internet is given in user level and not in computer level.

So escalate this to your manager, and to whomever manages IT. *This* is what managers get paid to do.