swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
    Related Concepts   Other Library Functions  
function   FTPConnectionRemoteOutputFile    

Library: omftp - FTP support
Include: omftp.xin

Declaration

  define external output function FTPConnectionRemoteOutputFile
                          value FTPConnection this-FTPConnection
                   file   value stream remote-filename


Purpose

This is an external output function used to send data to a remote file on an FTP server. The FTP connection is locked during the lifetime of the output object. The error inquiry functions, and the close method are allowed.

Arguments:

Examples:

  ; send a file to the server
  set FTPConnectionRemoteOutputFile MyCon file "test.out" to
      file "testfile1.txt"

  ; send data to a file on the FTP server using a stream attachment
  open s as FTPConnectionRemoteOutputFile MyCon file "test2.out"
  using output as s do
     output date "=xD/=xM/=xY:" || "%n"
     output "this data is going into the remote file%n"
     output "here's some more data for the file%n"
  done
  close s ; close ends the file transmission

      Related Concepts
   Security considerations
 
Other Library Functions
   FTPConnectionChangeDir
   FTPConnectionClose
   FTPConnectionDelete
   FTPConnectionDeleteDir
   FTPConnectionGetStatusReport
   FTPConnectionGetWorkingDir
   FTPConnectionIsInError
   FTPConnectionIsOpen
   FTPConnectionListDir
   FTPConnectionMakeDir
   FTPConnectionOpen
   FTPConnectionRemoteInputFile
   FTPConnectionRemoteOutputFile
   FTPConnectionSetASCII
   FTPConnectionSetBinary
   FTPIsVersionCompatible
   FTPLibraryVersion
 
----  

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:18 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.