Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple InputStream Help

Status
Not open for further replies.

LucL

Programmer
Jan 23, 2006
117
0
0
US
Hi Guys,

I've got an outside FTP library that either accepts a filename or an inputstream when uploading a file.

It has an append function that will let me append data to an existing file but that requires using an inputstream as the data parameter (instead of input file).

How can I convert a string, say "hello" to an InputStream so that I can pass it as a parameter to that function?

Thanks!
 
That worked. Thanks a lot!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top