SmartFTP FTP Library
IFTPFXP Interface

This interface is implemented by the FTPFXP class.

IFTPFXP
IDL
interface IFTPFXP : IDispatch;

VBScript

Dim objSource
Set objSource = CreateObject("sfFTPLib.FTPConnectionSTA")
Dim objDestination
Set objDestination = CreateObject("sfFTPLib.FTPConnectionSTA")

' TODO: Set the connection settings
' One passive and one port
objSource.Passive = false
objDestination.Passive = true

' SSCN if secured data transfer and one of the servers support it
'objSource.SSCN = true

' Connect
objSource.Connect()
objDestination.Connect()

' FTPFXP object
Dim objFXP
Set objFXP = CreateObject("sfFTPLib.FTPFXP")
objFXP.Source = objSource
objFXP.Destination = objDestination
objFXP.FXPFile("FileFrom", "FileTo", 0, 0)
IFTPFXP Methods 
Description 
Transfers a file from the source to the remote connection. 
This is FXPFileEx, a member of class IFTPFXP. 
IFTPFXP Properties 
Description 
Contains the destination IFTPConnection
Contains the source IFTPConnection
What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.