Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Linlyn FTP Problem

7 views
Skip to first unread message

Corey

unread,
Jan 21, 2003, 3:32:47 PM1/21/03
to
I'm currently attempting to construct a Java FTP application using the
Linlyn FTP class. I'm able to connect to the FTP server, but the
problem arises when I attempt to upload a file to the server. I have
a .pdf locally which I try to upload via:

ftp.upload("C:\\ftp", "test.pdf", "What goes here");

For the contents param of the Linlyn upload, if you already have the
File, how do you obtain the contents. I've tried a FileReader as well
as a FileInputStream with no success.

Any help and/or suggestions would be much appreciated.
Thanks.
Corey Cartwright

0 new messages