Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP Transfer
Message
 
 
À
04/09/2002 12:12:11
Steven Herbin
SNH Computing Corporation
Swan Lake, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00696670
Message ID:
00696718
Vues:
12
>I'm trying to write a quick program which will take a file from an IBM mainframe (EBCDIC format), import it into a DBF and then produce some reports, spreadsheets, etc. The processing part, once I get the file, works perfectly.
>
>I am able to get the FTP process to work using Attachmate Extra! as the ActiveX control but I can't seem to get the wininet.dll interface to work properly. Wininet establishes the session correctly. However, when I try to do an ASCII Text download, it fails with a 501 error and the following message is returned "FTP Server not configured for SIZE." I've tried to find this message pretty much everywhere I could think of (M$, IBM) but it doesn't appear.
>
>The funny thing is, the transfer works in BINARY mode. BTW, I want to use the WININET interface since all the users for the process do not have Attachmate.
>
>Anyone have any experience with this?
>
>TIA.
Steven,

I may be wrong here, but I don't think Win2000 has wininit, you may be better using a more generic approach, such as FTP command-window.
For downloads from the mainframe, size was never an issue, but
uploads require something like...

quote site recfm=fb lrecl=320 pri=100 sec=50 cy blksize=16000

where block-size is a multiple of rec-length
Edgar L. Bolton, B.S. B.B.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform