Search the Community
Showing results for tags '_ftp_progressupload'.
Hi, Using _FTP_ProgressUpload to upload a number of files to the server. The script is based closely on example1 script from the help file and all seem to work and no errors are returned. But the files end up being 0 bytes in length. I believe same script worked with Autoit v. 3.0.100 What could be wrong here ? Cheers /Poul Func UploaderFil() Local $fuFunctionToCall = _UpdateProgress ProgressOn("Uploader....", $s_RemoteFile) $iResultat = _FTP_ProgressUpload($Conn, $s_LocalFile, $s_RemoteFile, $fuFunctionToCall) ProgressOff() $tCur =
$FTPOpen = _FTP_Open($FTPName) ConsoleWrite("Status + "&$FTPOpen&@CRLF) ConsoleWrite("Wait Connection to " & $FTPServer & "..."&@LF) $FTPConnect = _FTP_Connect($FTPOpen, $FTPServer, $User, $Pass, $iPassive, $iPort) ConsoleWrite($FTPOpen & " + " & $FTPServer & " + " & $User & " + " & $Pass & @LF) $FTPUpload = _FTP_DirPutContents($FTPConnect, $InstallFolder, $FTPlocation, 1, 0) ConsoleWrite($FTPConnect & " + From " & $InstallFolder & " + To " & $FTPlocation & @LF) Example() _FTP_Close($FTPOpen) I would like to add a pro