Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FtpOpenFile
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
FtpOpenFile
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01092401
Message ID:
01092401
Views:
162
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
Next
Reply
Map
View

Click here to load this message in the networking platform