On 7 December 2012 14:16, Ari Fainchtein <[email protected]> wrote:
> Hello,
>
> I am trying to use the FTPClient to upload files and everything is working 
> fine except that the files arrive all garbled to the server.  I have tried 
> with pdfs and jpegs and  in both case the files are corrupted.
>
> Any help would be appreciated.
>

Try using the FTP client example [1] to upload the file.
If that works, see how it differs from your code.

[1] http://commons.apache.org/net/examples/ftp/FTPClientExample.java

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to