Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internet Transfer Control
Message
De
19/03/2001 08:37:22
 
 
À
16/03/2001 10:03:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00485389
Message ID:
00486434
Vues:
10
Not sure what is mean't by "scripting" it. Here is what I do. Is there some other way to do this that doesn't result in the DOS window being open while it is executing the FTP (cmd) command ?



nHandle = fcreate("gprices.cmd")
if nHandle < 0
quickMail("Unable to create GPRICES.CMD")
exit
endif
fputs(nHandle,"AH4755")
fputs(nHandle,"6322")
fputs(nHandle,"binary")
fputs(nHandle,"cd fusion\us\science")
fputs(nHandle,"get price.exe")
fputs(nHandle,"quit")
fclose(nHandle)
cmd = "run ftp -s:gprices.cmd ftpsecure.ingrammicro.com"
&cmd


>Hey Don,
>
>That's why you script the FTP command (using "quit" as the last command) and make the call to the FTP command from a batch so you don't have the hanging window.
>
>There are FTP hosts out there that respond the FTP "user" command but don't respect the equivalent properties in the iNet control for whatever reasons; in the case of MVS systems, it's that damn RAS security.
>
>
>
>>Well, one thing I didn't mention was that I have had no problem with using the DOS FTP command. That works just fine. I just thought it would be nice to do this without having to open a DOS window.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform