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:
Creating a directory on the FTP
Custom FTP Class for Visual FoxPro application
Custom HttpRequest class (WinINet)
Deleting a file stored on the FTP server
Downloading files from the FTP server using InternetReadFile
How to download a file from the FTP server using FtpGetFile
How to download this reference`s archive through WinInet functions using InternetOpenUrl
How to upload a local file to FTP server using FtpPutFile
Opening access to the Microsoft Internet functions for the application
Reading Internet Query options
Reading list of folders and files on FTP server
Removing FTP directory
Retrieving list of files on the FTP directory
Retrieving size of a remote file
Uploading file to the FTP server using InternetWriteFile
Using FtpCommand
Using InternetSetFilePointer when resuming interrupted download from the Internet
Uploading file to the FTP server using InternetWriteFile

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Before you begin:
Programming File Transfer Protocol in Visual FoxPro
 
  Members area. Log in to view this example.
 
  User name:
  Password:
 
 
  Forgot your password?
 
  Sign up for
the Membership
 
 


User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
3352 bytes  
Created: 2001-07-24 12:00:00  
Modified: 2011-12-10 09:20:22  
Visits in 7 days: 105  
Listed functions:
FtpOpenFile
InternetCloseHandle
InternetConnect
InternetOpen
InternetWriteFile
Printer friendly API declarations
My comment:
Unlike the FtpPutFile using this function you have control through the whole uploading process. Of course, it depends on how many chunks you split the source file to.

Between chunks you can display the progress of uploading. As well you can test pressed keys or other events and stop the uploading.

#kwd: sln_ftp.
Word Index links for this example:
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (107.21.186.38)
3 sec.Example: 'Using shared memory to exchange data between two FoxPro applications'
4.94 hrs.Function: 'RtlCompressBuffer'
Function group: 'Data Decompression Library'
 Example: 'Storing screen shot of a form to enhanced metafile (*.emf)'
5.78 hrs.Function: 'LsaClose'
Function group: 'Security'
5.79 hrs.Example: 'Storing content of the Clipboard to a bitmap file'
 Function: 'mixerGetControlDetails'
Function group: 'Windows Multimedia'
11.42 hrs.Example: 'Winsock: reading email messages (POP3, port 110)'
 Example: 'Drawing cursors for the classes defined by the system (preregistered): BUTTON, EDIT, LISTBOX etc.'
 Example: 'Simple Window Viewer'
12.46 hrs.Function: 'GetKBCodePage'
Function group: 'Keyboard Input'
Google
Advertise here!