stuj1026 Posted November 9, 2011 Posted November 9, 2011 Am I able to point to a file on my local hard drive in windows and set a field with the base 64 string of the file pointed to? Unable to find this in scriptmaster. Thanks Stu
Smef Posted November 17, 2011 Posted November 17, 2011 Yes, there is a base64 encoding module included with scriptmaster. Go to the modules list and perform a find for "Base64" to see the related modules if you're having trouble finding it in the list. If you have delete the module from your scriptmaster file you can download a fresh copy from http://360works.com/scriptmaster/
stuj1026 Posted November 21, 2011 Author Posted November 21, 2011 I cant find what you are referring to. The only thing available in scriptmaster is Base 64 encode. This requires a text string as input but does not let me point to a file either binary or text on my drive for encoding
john renfrew Posted November 21, 2011 Posted November 21, 2011 Are you trying to encode the CONTENTS of the file or the PATH to the file???
stuj1026 Posted November 22, 2011 Author Posted November 22, 2011 The contents of the file Thank you Stuj1026
john renfrew Posted November 22, 2011 Posted November 22, 2011 Then you need to add the ReadFileContents output into the Base64Encode as an input, or combine the two functions... Not sure how it will get on with binary contents though.
stuj1026 Posted November 22, 2011 Author Posted November 22, 2011 Thanks for the quick reply.... will give it a try thanks
stuj1026 Posted November 23, 2011 Author Posted November 23, 2011 ReadFileContents output into the Base64Encode as an input, or combine the two functions..... Looks like the ReadFileContents cannot read the binary file..... nuts!! anyone have any other suggestions? ..
andries Posted November 25, 2011 Posted November 25, 2011 try to Google this: "java encode binary file as base64" second post tells you how you can do it.
Recommended Posts
This topic is 5016 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now