FTP Class 2.0

FTP Class 2.0 is base on FTP Class 1.1a by Robert Abram.

Acknowledgments

...VFP comunnity on internet for many examples "How to use FTP class".

What is new...

- Read&Write resume support
- Native FTP Command
- Multi operations
- User's events
- Native passive mode
- Proxy support

Methods...

Dial group

AutoDialInternet()
AutoDialHangUp()
DialInternet()
DialHangUp()

Folder group

CreateFtpDirectory()
RemoveFtpDirectory()
ChangeFtpDirectory()
GetFtpDirectory()
GetFtpDirectoryArray()

File group

GetFtpFile()
PutFtpFile()
WriteFtpFile()
ReadFtpFile()
DeleteFtpFile()
RenameFtpFile()

System group

GetConnectedState()
GoOnline()
OpenInternet()
CloseInternet()
SetCachingMethod()
GetCachingMethod()
FtpCommand()
GetErrorCode()
GetErrorText()
IsGlobalOffline()

Core group

Init()
LoadAPIFuncs()
OpenFtpConnection()
CloseFtpConnection()
CrackFile()
CrackDate()
CrackAttributes()
GetExtendedError()

User Events

BeforeAutoDialInternet ()
AfterAutoDialInternet()
BeforeAutoDialHangUp()
AfterAutoDialHangUp()
BeforeDialInternet()
AfterDialInternet()
BeforeDialHangUp()
AfterDialHangUp()
BeforeGetConnectedState()
AfterGetConnectedState()
BeforeGoOnline()
AfterGoOnline()
BeforeGetFTPFile()
AfterGetFTPFile()
BeforePutFTPFile()
AfterPutFTPFile()
BeforeWriteFTPFile()
AfterWriteFTPFile()
AtWriteFTPFile()
BeforeReadFTPFile()
AfterReadFTPFile()
AtReadFTPFile()
BeforeFTPCommand()
AfterFTPCommand()
BeforeDeleteFTPFile()
AfterDeleteFTPFile()
BeforeRenameFTPFile()
AfterRenameFTPFile()
BeforeCreateFTPDirectory()
AfterCreateFTPDirectory()
BeforeRemoveFTPDirectory()
AfterRemoveFTPDirectory()
BeforeChangeFTPDirectory()
AfterChangeFTPDirectory()
BeforeGetFTPDirectory()
AfterGetFTPDirectory()
BeforeGetFTPDirectoryArray()
AfterGetFTPDirectoryArray()

Properties...

cIPAddress
cUserName
cPassword
cPort
nInet_Handle
nConnect_Handle
lDLL_Loaded
nResult_Code
nExtended_Result
cExtended_Message
cCurrentDir
nCachingType
cAgent
nFlags
lMultiOperations
cStartupFolder
cProxyProtocol
cProxyHost
cProxyport
lUseProxy