Check out this code, I wrote:

FTP1.TransferType = ftpAscii
If FTP1.Connect("192.22.33.5", usn, pws) = ftpSuccess Then
If FTP1.GetFile("easy1.txt", "c:\temp") = ftpSuccess Then
MsgBox "OK"
Else
MsgBox "Not OK"
End If
Else
MsgBox "Not OK"
End If

If FTP1.Rename("easy1.txt", "easy2.txt") = ftpSuccess Then
MsgBox "Not OK"
Else
MsgBox "Rename failed: " + vbNewLine + FTP1.LastError
End If
FTP1.Disconnect

When I tried to download file easy1.txt everything works fine and then I rename this file on server it worked fine to.

But:

I executed code for second time FTP download file easy1.txt (that doesn't exists!!!?!!) but can not rename it, because there is no file easy1.txt on server(that's OK).

What should I do with this phantom file. Brrrr.

Ermin