Hi,
I upload .jpg images whith this code
Code:
Inet.AccessType = icUseDefault
Inet.Protocol = icFTP
Inet.URL = "ftp://ftp....."
Inet.UserName = "user.be"
Inet.Password = "password"
Inet.Execute , "PUT " & Chr(34) & SourceLocation & Chr(34) & " " & Chr(34) & DestinationURL & Chr(34)
While Inet.StillExecuting
DoEvents
Sleep 1000 '1sec
DoEvents
Wend
Inet.Execute , "CLOSE"
While Inet.StillExecuting
DoEvents
Sleep 1000 '1sec
DoEvents
Wend
Most of the time it works well but sometime the file is not completely loaded, example



What can be the cause of such a problem ?