APTS 3 Posted January 3, 2016 Report Share Posted January 3, 2016 I am trying to use the download file command, but I am getting an error. This is the command I am using: download file(#myURL,"{$special folder("Application")}\\my_file.pdf") and this is the error I am getting regarding a protocol violation: http://i827.photobucket.com/albums/zz196/Daniel_Attard/Protocol%20Violation_zpsiogoqzdk.png Anyone have an idea what the problem might be? Thanks. Quote Link to post Share on other sites
Learjet 27 Posted January 4, 2016 Report Share Posted January 4, 2016 Is that double back slash in your code causing the issue? Sorry, I'm new but maybe that will help? download file(#myURL,"{$special folder("Application")}\my_file.pdf") Try that :-) Peace,EJ Quote Link to post Share on other sites
APTS 3 Posted January 4, 2016 Author Report Share Posted January 4, 2016 Thanks for the suggestion, but the double back-slash is required. Check the documentation: http://wiki.ubotstudio.com/wiki/Download_File Quote Link to post Share on other sites
APTS 3 Posted March 4, 2016 Author Report Share Posted March 4, 2016 Is anyone able to help me with this problem I am having with the Download File command? I keep getting this error saying: Server Committed A Protocol Violation Someone smarter than me commented to me that "a part of the http download file request needs to be url encoded", but I don't know how to go about doing that. Anyone have any ideas how I can overcome this error? Thank you. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted March 5, 2016 Report Share Posted March 5, 2016 If you have the HTTP Post Plugin it has a function that can encode urls. Otherwise you may have to look up what characters need to be encoded and replace them using a function or command you build on your own. Not sure if that's really the issue though. Quote Link to post Share on other sites
deliter 203 Posted March 5, 2016 Report Share Posted March 5, 2016 download http headers for chrome,and download the file with chrome,copy the url header information and you will see some parts encoded Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.