It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I would like to write a perl cgi script to receive binary file sent using http put method. The script will read the binary contents of file and store it in a folder.
Can somebody please share the code?
Thanks.
The CGI module can handle that.
my $data = $cgi->param('PUTDATA');
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to transfer fle from one server to other server.What are different ways to transfer the file to other server other than Socket connection? and Which is best way to transfer the file?
Thank you.
As an alternative you can just copy the file to a shared folder. It's a known EIP integration style, see http://www.eaipatterns.com/toc.html. Interestingly, this way you can also make it available to many servers at once, kind of publishing.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is it possible in codename one to download a resource file from server, store it in phone memory, and open in application? It can be a good opportunity to support application after release.
Sure.
You can just download the file using a standard ConnectionRequest and save it using the Storage API. The Resources class has an open method that accepts an InputStream for you to open this later on.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am getting HTML response through web service and I want xml from web method. I am using TBXML xml parser. It occurs occasionally, such as in this example:
The resource cannot be found.body{font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}b{font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}..............................................................
pls help me.
looks like a web-service Error to me, what's the problem ?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a .xls file stored on the iPhone. I would like to upload this file to a remote web server. Is there a way this can be done? All the questions I have found seem to be concernced with image files, whereas I would like a solution for a generic file type.
Thanks
I'm using AFNetworking for various file types and it works great. ASIHttpRequest has been abandoned by its author.
May I recommend ASIHTTPRequest? Here is some sample code for file upload.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
i got email with such symbols in html code, as: 3D, =BB, =, =A0 . How to get normal email? Please write code on PHP that givs normal html Code. Thanks.
Use a software library that implements the RFC-2045 rules for you. See particularly 'quoted printable' in http://www.ietf.org/rfc/rfc2045.txt.