Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default wininet & FTP to Mainframe (zOS)

Hi, I have an FTP stream partially working using wininet.dll. There are a
series of examples that I even have followed . [I'm doing this in VBA of
Excel, office 2003] The problem is that I can log in, upload and logout,
but ftpCommand does not appear to function with zOS the way I would expect.
I cannot get a FB file allocated on the host (trying to upload to a GDG). I
do get a response back (using InternetGetLastResponseInfo function call to
wininet dll) and I am getting what looks like a good response by putting in a
"site" commend as the string in the ftpCommand function. But the system
seems to hang and I then appear to be logged out by the time the VB code
reaches the put command (even though it appears that using the function call
"InternetGetLastResponseInfo" I am getting a response that at least some of
the characteristics are working")

Is it a possibility that I have to run things asynchronously? Or that I
really can't do a "SITE RECFM=FB, LRECL=145" with zOS? Has anyone ever gotten
something like this to work recently? I Can post code on request.


Does anyone have any thoughts?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP File Size from wininet Phil Hibbs Excel Programming 1 December 2nd 09 05:53 PM
Mainframe Tech Blog [email protected] Excel Discussion (Misc queries) 0 April 5th 08 12:07 PM
VBA WinInet Code Crashes Excel [email protected] Excel Programming 0 July 18th 06 09:11 PM
Import from mainframe Edd[_2_] Excel Programming 3 September 26th 05 01:23 PM
Need to save file for mainframe Rick Excel Discussion (Misc queries) 2 February 15th 05 10:49 PM


All times are GMT +1. The time now is 12:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"