Problems with .NET Client API

I'm having an issue with the .NET API when used from VB 2008.  The  function call is simply:

j.SetInputFileOnClient("FileName", New System.IO.FileInfo(InputFile))

for which I have a parameter set up on the PP protocol and a valid reference to a local file in InputFile.

It throws an error, but the only available message is 'Error occurred while uploading file to server at E:/Program Files/Scitegic752/web/jobs/davies_dc/{nlp278F9-5C90-4EFB-B284-D3815AE74F03}/input'

The InnerException is not very helpful either.

Anybody else seen this error?