Hi, I have a program that use SecureFTPConnection to send file. In the main form I have a FTPStatusBar. At run time I create a new connection and attach a FTPstatusbar and logfile. The tranfer is normally completed but the status bar don't show anything. In the logfile I have no log write. FTPStatusbar work only with FTPConnection object put in the main form ?
ftpObject.ServerAddress = mFTPServer
ftpObject.UserName = mFTPUser
ftpObject.Password = mFTPPassword
ftpObject.ServerPort = mFTPPort
ftpObject.Protocol = mFTPProtocol
ftpObject.LogFile = "c:\logfile.txt"
FTPStatusbar.Connection = ftpObject
ftpObject.Connect()
ftpObject.UploadFile(strFileSource, strFileDestination, False)
ftpObject.close
Thanks Filippo