Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTPCommand, WinInet
Message
 
 
À
13/03/2006 09:04:06
Markus Depken
Ta-Logistic Software Gmbh
Bremen, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
01103703
Message ID:
01103707
Vues:
9
This message has been marked as the solution to the initial question of the thread.
Markus,

Try
lcCommnad = "Whatever FTP command you want to execute"
lnResult = FtpCommand(THIS.hFtpSession, 0, 0, lcCommnad, 0, 0)
>
>i have found the FoxPro declaration of the FTPCommand for FoxPro.
>DECLARE INTEGER FtpCommand IN wininet;
>    INTEGER   hConnect,;
>    INTEGER   fExpectResponse,;
>    INTEGER   dwFlags,;
>    STRING    lpszCommand,;
>    STRING    dwContext,;
>    INTEGER @ phFtpCommand
>
>But i'm to silly to make a codeline of it :-/
>
>Codeline:
>FtpCommand(THIS.nInet_Handle,0, 0, "SITE","NAMEFMT 0",0)
>=> I want to change the name format of the FTP server.
>What am i doing wrong?
>InternetGetLastResponseInfo returns 0 and "" as values :-(
>
>Anybody can help me?
>I'm using VFP 6.0, SP 5
>
>BR
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform