Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FtpGetFile()
Message
 
À
07/02/2006 12:35:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01094124
Message ID:
01094369
Vues:
44
thanks scott,
they didn't make a difference though:( i am very grateful for the code that you posted a couple of weeks ago as i have used that as the basis for sending files to the ftpserver and it works perfectly. everyone but me seems to be able to make ftpgetfile to work
Slán
~M

>Mark:
>
>Here are some "DEFINE" statements that may help:
>
>
>#DEFINE INTERNET_OPEN_TYPE_PRECONFIG            0
>#DEFINE INTERNET_OPEN_TYPE_DIRECT              1
>#DEFINE INTERNET_OPEN_TYPE_PROXY               3
>#DEFINE INTERNET_OPTION_CONNECT_TIMEOUT        2
>#DEFINE INTERNET_OPTION_CONNECT_RETRIES        3
>#DEFINE INTERNET_OPTION_SEND_TIMEOUT           5
>#DEFINE INTERNET_OPTION_RECEIVE_TIMEOUT        6
>#DEFINE INTERNET_OPTION_DATA_SEND_TIMEOUT      5
>#DEFINE INTERNET_OPTION_DATA_RECEIVE_TIMEOUT   6
>#DEFINE INTERNET_OPTION_LISTEN_TIMEOUT         11
>#DEFINE INTERNET_SERVICE_FTP                   1
>#DEFINE INTERNET_DEFAULT_FTP_PORT              21
>#DEFINE ERROR_INTERNET_EXTENDED_ERROR          12003
>*****************************************************************************************
>* WINInet Service Flags
>*****************************************************************************************
>#DEFINE INTERNET_SERVICE_HTTP                  3
>#DEFINE INTERNET_DEFAULT_HTTP_PORT             80
>#DEFINE INTERNET_DEFAULT_HTTPS_PORT            443
>#DEFINE INTERNET_FLAG_RELOAD                   2147483648
>#DEFINE INTERNET_FLAG_SECURE                   8388608
>#DEFINE INTERNET_FLAG_KEEP_CONNECTION          0x00400000
>#DEFINE INTERNET_FLAG_NO_COOKIES               0x00080000
>#DEFINE HTTP_STATUS_PROXY_AUTH_REQ             407
>#DEFINE HTTP_QUERY_STATUS_CODE                 19
>#DEFINE HTTP_QUERY_FLAG_NUMBER                 0x20000000
>#DEFINE HTTP_QUERY_RAW_HEADERS_CRLF            22
>#DEFINE INTERNET_FLAG_IGNORE_CERT_DATE_INVALID 0x00002000
>#DEFINE HTTP_QUERY_STATUS_CODE                 19
>#DEFINE HTTP_QUERY_STATUS_TEXT                 20
>#DEFINE FTP_TRANSFER_TYPE_ASCII                1
>#DEFINE FTP_TRANSFER_TYPE_BINARY               2
>#DEFINE FTP_CONNECT_PASSIVE                    134217728
>#DEFINE FTP_ALLOW_OVERWRITE                    0
>#DEFINE FTP_DO_NOT_OVERWRITE                   1
>*****************************************************************************************
>* Access Flags
>*****************************************************************************************
>#DEFINE GENERIC_READ                           0x80000000
>#DEFINE GENERIC_WRITE                          0x40000000
>#DEFINE GENERIC_EXECUTE                        0x20000000
>#DEFINE GENERIC_ALL                            0x10000000
>*****************************************************************************************
>* File Attribute Flags
>*****************************************************************************************
>#DEFINE FILE_ATTRIBUTE_NORM                    0x00000080
>#DEFINE FILE_ATTRIBUTE_NORMAL                  0x00000080
>#DEFINE FILE_ATTRIBUTE_READONLY                0x00000001
>#DEFINE FILE_ATTRIBUTE_HIDDEN                  0x00000002
>#DEFINE FILE_ATTRIBUTE_SYSTEM                  0x00000004
>*****************************************************************************************
>* Win32 API Constants
>*****************************************************************************************
>#DEFINE ERROR_SUCCESS                          0
>
Go raibh maith agat

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

Click here to load this message in the networking platform