• Post Reply Bookmark Topic Watch Topic
  • New Topic

Upload using HTTP Protocol  RSS feed

 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

I have files in my local disk. I am using applet for Uploading multiple file. I want to upload the Folder and Files to Linux machine using Http protocol.

Local path : c:\LIC\EDMS\Folder1 and its files
Linux Path is //home/pras/EDMS.

please give some ideam.

-regards,
Rodricks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on what kind of access you have to the server: NFS, SMB, HTTP, FTP, WebDAV, ... ? More detail about some of these methods is here.

The applet would need to be signed or the local security policy altered in order for it to access the local file system. More detail about that is here.
 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

Using FTP its done, but i want to upload using HTTP. Destination is a linux machine and i want to upload to //home/pras/folders. The linux machine is a ordinary machine and no app server or webserver is running on that. How can i use HTTP on that machine.

-Rodricks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to have a server or service that can handle HTTP. That's what web servers do. Without web server, no HTTP.
 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,
If i activate Http service in linux machine and if i want to upload the folders and files to //home/pras is that possible.

-Rodricks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the web server you're using must support HTTP file uploads. Some do, but not all - check the documentation of the server you're working with. It may be an add-on that needs to be enabled or installed.

To give an example from the Java space, to use file uploads in a web application, you'd need to use one of the libraries mentioned in the FileUpload page I quoted in my first post.
 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

Suppose if i use Jboss App server running on Linux machine. As you said if i upload a file to the linux machine with App server running on it. I think It will upload inside the JBoss Server folder.. but i want to Upload to //home/pras... jboss is in //root/tmp/jboss.


-Regards,
Rodricks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on how the server-side is implemented. In JBoss you can run a web app that includes one of the components linked on the FileUpload page. Those allow you to specify where the file should be stored.
 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you sir

-Rodricks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!