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
Reading list of folders and files on FTP server
Retrieving list of files on the FTP directory
FtpSetCurrentDirectory
    Add comment     W32 Constants      Translate this page
Changes to a different working directory on the FTP server
Code examples:
Custom FTP Class for Visual FoxPro application
Reading list of folders and files on FTP server
Retrieving list of files on the FTP directory
Downloading files from the FTP server using InternetReadFile
Declaration:
BOOL FtpSetCurrentDirectory(
    HINTERNET hConnect,
    LPCTSTR lpszDirectory
);

FoxPro declaration:
DECLARE INTEGER FtpSetCurrentDirectory IN wininet;
    INTEGER   hFtpSession,;
    STRING  @ lpszDirectory
Parameters:
hConnect
[in] Valid HINTERNET handle to an FTP session.

lpszDirectory
[in] Pointer to a null-terminated string that contains the name of the directory to change to on the remote system
Return value:
Returns TRUE if successful, or FALSE otherwise
My comment:
The function is very straightforward, nothing sophisticated. You can pass the directory name by a reference or by a value; it looks like the VFP automatically changes the passing value to a proper format
Word Index links for the FtpSetCurrentDirectory :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-17 12:00:00
Modified: 2001-11-26 16:02:26
Visited in last 7 days: 59
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.145.16.43)
22 sec.Function: 'GetBkMode'
42 sec.Function: 'GdipGetImageType'
1 min.Function: 'CreateFont'
1.32 min.Function: 'GdipGetDpiX'
1.63 min.Function: 'CreateMutex'
1.98 min.Function: 'GdipCreateImageAttributes'
2.33 min.Function: 'EnumDisplaySettings'
2.7 min.Function: 'GdipScaleTextureTransform'
3 min.Function: 'EnumJobs'
3.38 min.Function: 'GetMailslotInfo'
Google
Advertise here!