Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to ping a remote site using IP Helper API calls
Transparent Menu Class (requires VFP9)
How to play MIDI notes
Obtaining names of local and global groups for current user (WinNT/XP/2K)
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
Creating a mailslot
How to set Creation Date/Time for a folder (WinNT)
Adding a background image to VFP report (VFP9, ReportListener)
HOWTO: Use the Win32 API to Access File Dates and Times
Retrieving names for the registered clipboard formats
Storing screen shot of a form to enhanced metafile (*.emf)
Using Change Notification Objects to monitor changes to the printer or print server
Displaying the main Dial-Up Networking dialog box
Getting a bit more than the _CLIPTEXT offers
How to adjust monitor brightness (Vista, monitor with DDC support)
How to retrieve network parameters for the local computer (including Host name, Domain name, and DNS Server)
The original LoadPicture() function in VFP returns valid handles to bitmaps, icons, cursors, and metafiles
Class for sound recording
Disk in drive A:
GDI+: Scrolling through large image using the mouse
How to print a bitmap file
Retrieveing general information about the driver and data source associated with an ODBC connection
Start an executable from VFP application by using the CreateProcess
Adding user-defined items to the Control Menu of VFP form (requires VFP9)
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: 85  
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.22.127.92)
2.2 hrs.Example: 'Storing registration key in the resources of an executable file'
 Example: 'Hiding mouse cursor'
8.96 hrs.Example: 'How to save registry key including its subkeys and values to a file'
 Example: 'Determining if an Active Network Connection is Available'
10.78 hrs.Example: 'Using the CreateFile'
12.27 hrs.Example: 'How to fill a buffer with random bytes using Cryptography API Functions'
12.86 hrs.Example: 'How to display the Properties dialog box for a file (ShellExecuteEx)'
15.8 hrs.Example: 'GDI+: printing vertical text on VFP reports via generated images (VFP8)'
 Function: 'AlphaBlend'
Function group: 'Bitmap'
 Example: 'Using MessageBeep'
Language: 'C#'
Google
Advertise here!