• Post Reply Bookmark Topic Watch Topic
  • New Topic

FileWriter to send a ftp a file

 
Savithri Devaraj
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to use FileWriter class to send a file to an ftp site?
What I mean is, I want to be able to send files at a time instead of using a write(char[],..) or writing strings at a time. I need to ftp a few large files to a given site. Also, for ftping I intend to use URL and URL connection. Is there another way to do it?
Thanks in advance,
Savithri
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Savithri,
No I don't think you can use any File class. Check out this site for freeware FTP bean.
http://www.geocities.com/SiliconValley/Code/9129/javabean/ftpbean
Enjoy,
Manfred.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!