Halllo,
I have a problem using the FileXferFromHost function in AWREM32. I have a Delphi 5 application, which calls several remotes and then transfers files. For the tranferring of files I use FileXferFrom and ToHost with wildcards. ie. AWRemote.FileXferFromHost('C:\tmp\*.*', 'c:\myfiles\').
The problem is that most of the times the transfer is executed successfuly and FileXferFromHost returns True. But sometimes there aren't any files transferred, but FileXferFromHost still rerturns True! This is a major problem because the files on the host have to be deleted. Now sometimes I delete the files on the host, while they aren't transferred (because FileXferFromHost returns True)! Can anyone help me with this one? Maybe another way to detect if the files are transferred (probleem is I don't know the filenames and how many files are to be transferred, but I do know the file extension)
Thanks in advance
Oliver
I have a problem using the FileXferFromHost function in AWREM32. I have a Delphi 5 application, which calls several remotes and then transfers files. For the tranferring of files I use FileXferFrom and ToHost with wildcards. ie. AWRemote.FileXferFromHost('C:\tmp\*.*', 'c:\myfiles\').
The problem is that most of the times the transfer is executed successfuly and FileXferFromHost returns True. But sometimes there aren't any files transferred, but FileXferFromHost still rerturns True! This is a major problem because the files on the host have to be deleted. Now sometimes I delete the files on the host, while they aren't transferred (because FileXferFromHost returns True)! Can anyone help me with this one? Maybe another way to detect if the files are transferred (probleem is I don't know the filenames and how many files are to be transferred, but I do know the file extension)
Thanks in advance
Oliver