Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FtpOpenFile
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
FtpOpenFile
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:
01092401
Vues:
161
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform