Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to change display settings: screen resolution, screen refresh rate
Custom GDI+ class
Capturing keyboard activity of another application with the Raw Input API (VFP9)
How to print a bitmap file
How to display Windows On-Screen Keyboard
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
System Image List Viewer
Winsock: sending email messages (SMTP, port 25)
Creating the Save dialog box to specify the drive, directory, and name of a file to save
The window and its ancestors
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
Printing Image File, programmatically set print page orientation to landscape
How to convert a bitmap file to monochrome format (1 bpp)
Custom HttpRequest class (WinHTTP)
Custom FTP Class for Visual FoxPro application
Mapping and disconnecting network drives
Using EnumPrinters function to enumerate locally installed printers
How to download a file from the FTP server using FtpGetFile
Displaying the associated icons and descriptions for files and folders
How to activate Windows Calculator
Displaying icons in the system tray (VFP9)
Drawing Windows predefined bitmaps using the LoadBitmap functions
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Sending email messages with Simple MAPI
How to upload a local file to FTP server using FtpPutFile

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

The FtpPutFile stores a file on the FTP server in a single operation. You can not have a close control over the file transfer that you may need, for example, for displaying a progress bar. For those situations you should use the FtpOpenFile and InternetWriteFile functions.

See also: Uploading file to the FTP server using InternetWriteFile.
 
  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:
  • ~
3244 bytes  
Created: 2001-07-24 12:00:00  
Modified: 2011-12-10 09:20:22  
Visits in 7 days: 120  
Listed functions:
FtpPutFile
FtpRenameFile
InternetCloseHandle
InternetConnect
InternetOpen
Printer friendly API declarations
My comment:
Note that you can test this example only on FTP server for which you have sufficient access level.

#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.25.119)
4 sec.Function: 'WSAEventSelect'
Function group: 'Windows Sockets 2 (Winsock)'
1.71 hrs.Example: 'Using Common Controls: the Header Control'
1.72 hrs.Example: 'Reading and setting system access privileges for the current process'
2.06 hrs.Example: 'An alternative way of setting Form.Closable to False'
 Example: 'Adding and deleting User Accounts'
2.65 hrs.Function: 'SetMapMode'
 Function: 'FindText'
Function group: 'Common Dialog Box'
3.96 hrs.Function: 'GetInterfaceInfo'
Function group: 'IP Helper'
5.33 hrs.Example: 'How to Start a Process as Another User (NT/XP/2K)'
 Example: 'Using Change Notification Objects to monitor changes to the printer or print server'
Google
Advertise here!