transferring the file using HTTP

has anyone known how to transfer the file via HTTP?

What is the software requirement? Web Server? or Networking setting???

Is it running on web? Can I do it in JSP or just java application?

I have no idea how to start??

LeanMoreTryMoreAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mick BarryJava DeveloperCommented:
if you mean to upload a file then you wneed to use multipart/form request

apache upload provides support for this on the server side
on the client side you can use httpclient
LeanMoreTryMoreAuthor Commented:
Sorry I dont make it clear enough

I mean the file need to be transfered from one location to another location. Like B2B

From example,
Company A has created a data file which needs to be transferred to Company B via Http. is it via the web site or something..I really dont have any idea

Can we able to do it?

Our old system is using E-mail as an data transport?
But our client wants to use http? Unfortunately I dont have this knowledge to carry out the work.

I need technical information so I can start


Mick BarryJava DeveloperCommented:
there are many ways you can do it :)

To use http you'd typically have a web container to recieve the files and send them using multipartform request that I mentioned above.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

LeanMoreTryMoreAuthor Commented:
Does our client need to register the web site because their web applciation is run as a intranet or internet? how does another company receive the file? i thought it must through the network? but how?

if they register the web site as an internet application i think we can do it, isn't it??? please correct me if i am wrong.

thanks
Mick BarryJava DeveloperCommented:
you need *something* running on the server that is to recieve the files, if using http this would typically be a web container for example tomcat. The server would just need to be visible to the client that needs to send it files.
LeanMoreTryMoreAuthor Commented:
Thanks object.

Yes. one of our web container is using Tomcat.

Does that mean we can transfer the file from web intranet applcation?

How can the file be transferred to one location to another location if there is no network link it together?
Really dont understand.

Do you have any link provided us some information about that?
Mayank SAssociate Director - Product EngineeringCommented:
Try using the FileUpload tool from Commons:

http://jakarta.apache.org/commons/fileupload/
quannvCommented:
You also can use the Web service for this problem (run on http)
the destination you can write a servlet with function to receive data
and the source can invoke the function on servlet to tranfer files
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.