remoteLocation should be ftp://ftp.domain.com/upload/upm/test.upm, shouldn't it? 
I don't remember the way remoteLocation should be with the http protocol. I only remember my confusion all the time I used http.
How does this sounds to you?