Uploading files from memory

Top  Previous  Next

You can upload data from memory using any of the Ftps#upload methods that take a byte array as it's first argument.

 

Example

 

// data to upload

String data = "this is a test";

 

// destination file to store data in

String file = "data.txt";

 

// upload byte array

ftps.upload(data.getBytes(),file);





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC