Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: iFTPDialog iFTPGet
NOTE:
The remote file name you specify in iFtpGet can be Case-Sensitive !!
It is important that you specify the proper case for the "filename" in the iFtpGet function. Some FTP servers will not return viable filesize information to the automatic iFtpDialog (if case is wrong), therefore the automatic progress bar is not able to properly update.
If you do all this, then the progress thermometer should work fine.
If you want to get a wildcarded list of all files on the server, and then go through the list with an iFtpGet or iFtpPut, do not specify the wildcarded filenames in iFtpGet or iFtpPut. Those functions only take a single file name. You CAN specify the wildcarded filenames in iFtpFindInit, and then run through each of the files with iFtpFindNext. To see a working example of this, see the Ftp example "MULTI_GET_MANUAL" in the help file.
You can also see in that example how we go through the file list until iFtpFindNext returns a blank string, accumulating filename and filesize information as we go. The filesize is extracted out from the iFtpFindNext string information, and you can specify that value in the fourth parameter of iFtpGet if need be.
Article ID: W12593
Filename: Dialog Progress Bar not Working.txt
File Created: 2003:09:19:08:21:36
Last Updated: 2003:09:19:08:21:36