Using Win32 functions in Visual FoxPro Image Gallery
Internet Functions (WinInet)
..msdn
CreateMD5SSOHash
DeleteUrlCacheEntry
DetectAutoProxyUrl
FindCloseUrlCache
FindFirstUrlCacheEntry
FindFirstUrlCacheGroup
FindNextUrlCacheEntry
FindNextUrlCacheGroup
FtpCommand
FtpCreateDirectory
FtpDeleteFile
FtpFindFirstFile
FtpGetCurrentDirectory
FtpGetFile
FtpGetFileSize
FtpOpenFile
FtpPutFile
FtpRemoveDirectory
FtpRenameFile
FtpSetCurrentDirectory
GetUrlCacheEntryInfo
HttpOpenRequest
HttpQueryInfo
HttpSendRequest
InternetAttemptConnect
InternetAutodial
InternetAutodialHangup
InternetCanonicalizeUrl
InternetCheckConnection
InternetCloseHandle
InternetConnect
InternetCrackUrl
InternetDial
InternetFindNextFile
InternetGetConnectedState
InternetGetConnectedStateEx
InternetGetCookie
InternetGetLastResponseInfo
InternetGoOnline
InternetOpen
InternetOpenUrl
InternetQueryDataAvailable
InternetQueryOption
InternetReadFile
InternetSetCookie
InternetSetFilePointer
InternetTimeFromSystemTime
InternetTimeToSystemTime
InternetWriteFile
Code examples:
Custom FTP Class for Visual FoxPro application
Downloading files from the FTP server using InternetReadFile
How to retrieve the size of a remote file (FTP)
Uploading file to the FTP server using InternetWriteFile
FtpOpenFile
    Add comment     W32 Constants      Translate this page
Initiates access to a remote file on an FTP server for reading or writing.
Code examples:
Custom FTP Class for Visual FoxPro application
Downloading files from the FTP server using InternetReadFile
How to retrieve the size of a remote file (FTP)
Uploading file to the FTP server using InternetWriteFile
Declaration:
HINTERNET FtpOpenFile(
    HINTERNET hConnect,
    LPCTSTR lpszFileName,
    DWORD dwAccess,
    DWORD dwFlags,
    DWORD_PTR dwContext
);

FoxPro declaration:
DECLARE INTEGER FtpOpenFile IN wininet;
    INTEGER hFtpSession,;
    STRING  sFileName,;
    INTEGER lAccess,;
    INTEGER lFlags,;
    INTEGER lContext
Parameters:
hConnect
[in] Valid HINTERNET handle to an FTP session.

lpszFileName
[in] Pointer to a null-terminated string that contains the name of the file to access on the remote system.

dwAccess
[in] Unsigned long integer value that determines how the file will be accessed. This can be GENERIC_READ or GENERIC_WRITE, but not both.

dwFlags
[in] Unsigned long integer value that contains the conditions under which the transfers occur.

dwContext
[in] Pointer to an unsigned long integer value
Return value:
Returns a handle if successful, or NULL otherwise. Later this handle can be used by InternetWriteFile or InternetReadFile functions
My comment:
This function often works in combination with InternetWriteFile and InternetReadFile functions.
Word Index links for the FtpOpenFile :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-24 12:00:00
Modified: 2001-11-26 16:02:38
Visited in last 7 days: 39
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.245.10)
6 sec.Function: 'BroadcastSystemMessage'
12 sec.Function: 'LockServiceDatabase'
19 sec.Function: 'SQLSetEnvAttr'
25 sec.Function: 'SetPriorityClass'
31 sec.Function: 'FindNextChangeNotification'
38 sec.Function: 'EndPath'
43 sec.Function: 'waveOutOpen'
50 sec.Function: 'GdipGetImageEncodersSize'
56 sec.Function: 'SHGetSpecialFolderLocation'
1.03 min.Function: 'GetPrinterData'
Google
Advertise here!