The timer calls a function to upload the image. In that function a bitmap is created and finally:
and after that i am calling the sub for async ftp upload based on msdn example. After one or two successful uploads, i get a general GDI+ exception which comes because "the file is being used from another process"..If i save to a new file is ok.
I have tried with long intervals in timer (>minute) and it does the same. The file is small (usually 40-50 kb)
I tested that the stream is closed and tried to press the upload manually 10 secs after and i got the same error.