T
The Frog
Hi Everyone,
I am just wondering if anyone has had any experience or words of
wisdom to offer on approaching a seemingly simple network type
application. Here is the scenario.....
There is a website, actually an ftp site with (surprise surprise!)
files on it. each week a new file is added. On my local network is a
shared folder that I need to keep updated with files from the FTP
site. So far so simple. Here's the issue: Due to a proxy server
(simple authentication where it requests a username and password to
access the internet) I can only access the FTP site via a web browser
(eg/ Internet Explorer, Firefox, etc...) and download the file(s) I
want manually. What is being done 'behind the scenes' so to speak is
that the web browser is using HFTP to download the file (FTP over
HTTP). What I would like to do is to write an application that can
download these files for me.
I have done a proof of concept using simple VBA to automate IE to show
to our IT department that it can be done (using regular expressions to
strip the filenames from the 'web page' and compare that with the list
of files in the network folder - whats on the ftp but not on the local
network goes into a list and gets downloaded via IE automation). This
is clumsy but it works. I would prefer to write a 'proper'
application, and do this in Java. I have no idea how to approach HFTP
and need help with this.
Can anyone offer any advice on this? It would be much appreciated.
Cheers
The Frog
I am just wondering if anyone has had any experience or words of
wisdom to offer on approaching a seemingly simple network type
application. Here is the scenario.....
There is a website, actually an ftp site with (surprise surprise!)
files on it. each week a new file is added. On my local network is a
shared folder that I need to keep updated with files from the FTP
site. So far so simple. Here's the issue: Due to a proxy server
(simple authentication where it requests a username and password to
access the internet) I can only access the FTP site via a web browser
(eg/ Internet Explorer, Firefox, etc...) and download the file(s) I
want manually. What is being done 'behind the scenes' so to speak is
that the web browser is using HFTP to download the file (FTP over
HTTP). What I would like to do is to write an application that can
download these files for me.
I have done a proof of concept using simple VBA to automate IE to show
to our IT department that it can be done (using regular expressions to
strip the filenames from the 'web page' and compare that with the list
of files in the network folder - whats on the ftp but not on the local
network goes into a list and gets downloaded via IE automation). This
is clumsy but it works. I would prefer to write a 'proper'
application, and do this in Java. I have no idea how to approach HFTP
and need help with this.
Can anyone offer any advice on this? It would be much appreciated.
Cheers
The Frog