|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
textfile - > DB2
New project - we need to be able to periodically download a text file from a remote site not our own and save it somewhere on our webserver Let's call it
http://www.somesite/someDir/thisfile.txt. Eventually some Z/OS mainframe process will need this file as input into a mainframe DB2 table load process. For that reason I am posting in both the ASP and DB2 Forums this one time(hopefully). What are the options for doing this via Classic ASP? I am thinking in the back of my mind that this will require using the XMLHTTP object and perhaps the stream object. FTP is not an option, as the site where the text file resides is a government site and it looks as though manual download is the only option. Any thoughts most appreciated, fv
__________________
...because that is the way we have always done it. We've been doing it like that for 80 Years! (How do we change that mindset?) |
|
#2
|
||||
|
||||
|
Quote:
|
|
#3
|
|||
|
|||
|
Quote:
Manual download - actually going to the site and clicking a download link. This is ASP on IIS - was able to get working using the MS XMLHTTP object and save as a text file on the server. Maybe from the Z/OS side they can FTP the file from the webserver and run a load utility on it. thanks, fv |
|
#4
|
||||
|
||||
|
Well, depending on what operating system they are running on it, you could see if there is a suitable wget utility that could be used.
|
![]() |
| Viewing: Dev Shed Forums > Databases > DB2 Development > textfile - > DB2 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|