Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FtpOpenFile
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01092401
Message ID:
01092422
Vues:
23
Never mind, saw my mistake, FtpPutFile!

>Hi all,
>I have been using some code that Scott Ramey ver nicely posted for me and its going well but i am having a problem using this function, FtpOpenFile. the original section of code that he gave me was
>
>lhFTPFile = FtpOpenFile( lhFTPSession, This.FTPSendTargetName,;
>                GENERIC_WRITE,;
>                INTERNET_FLAG_RELOAD + FTP_TRANSFER_TYPE_BINARY, 0)
>
>but the program was complaining about GENERIC_WRITE so i put that in quotes. then it complained about the next parameter so i changed that to be "FTP_TRANSFER_TYPE_BINARY" but now it is complainaing about a data type mismatch. i have checked the web and any examples i find don't use quotes but if i dont i get the error variable GENERIC_WRITE not found etc. all i am trying to do is send a file up to an ftp server and then take one down.
>Slán
>~M
Go raibh maith agat

~M
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform