Home » Developer & Programmer » Forms » copy file from client to server in a web deployed application (Oracle forms 6i, Windows 2000)
copy file from client to server in a web deployed application [message #278624] Mon, 05 November 2007 03:21 Go to next message
jyotiweb
Messages: 7
Registered: March 2005
Junior Member
I have developed one application using Oracle forms, which is deployed on the web server.
I run this application from a client PC in Internet Explorer using internet.
I want to copy one file from the client PC to the web server.
I have done following things
- Created a shared folder on the server and given full rights to every one on this folder
- I use 'net use' command in my program to connect to this shared folder
- I use copy command to copy file from local client pc to server. This copy command I am executing using host command of my programming (PL/SQL: eg. host('copy abc.txt \\server\share\') )
But this does not work.
When I do the same thing in command window, it works.
(ie. Start-Run cmd to open command window and then type the above copy command)

Can you please tell me, how to copy a file from client PC to the sever in Web deployed application?

Thanks
Re: copy file from client to server in a web deployed application [message #279536 is a reply to message #278624] Thu, 08 November 2007 23:04 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
The 'host' command runs on the server. Use a 'client_host' command to run something from the PC.

David
Re: copy file from client to server in a web deployed application [message #281685 is a reply to message #279536] Mon, 19 November 2007 00:46 Go to previous messageGo to next message
jyotiweb
Messages: 7
Registered: March 2005
Junior Member
It gives compliation error. There is no such command like client_host in forms 6i
Re: copy file from client to server in a web deployed application [message #281793 is a reply to message #281685] Mon, 19 November 2007 05:56 Go to previous messageGo to next message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

Check this WEBUTIl
Re: copy file from client to server in a web deployed application [message #281886 is a reply to message #281793] Mon, 19 November 2007 18:05 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
It would have helped if you had told us which version of Forms you are using.

Look at http://www.orafaq.com/forum/t/92677/67467/

David
Re: copy file from client to server in a web deployed application [message #282254 is a reply to message #281886] Wed, 21 November 2007 04:47 Go to previous messageGo to next message
jyotiweb
Messages: 7
Registered: March 2005
Junior Member
I am using Forms 6i in a web deloyed environment.

I have tried webutil and d2kwutil, but both does not work with Forms 6i

Thanks
Re: copy file from client to server in a web deployed application [message #282411 is a reply to message #282254] Wed, 21 November 2007 23:11 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
The post I referenced in my previous post indicates that 'webutil' will do what you want to do.

What error codes and messages are you receiving?

David
Previous Topic: using parameter for partition name in where clause & partition name in query data source name pr
Next Topic: Use of OLE Container in Web Environment
Goto Forum:
  


Current Time: Sun Feb 02 21:56:29 CST 2025