Tushar Mundada

Greenhorn
+ Follow
since Jan 13, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tushar Mundada

I did above changes. its still not working. It seems there is problem with the header of the zip file. Can anybody help to resolve exactly?
10 years ago
If I want to allow user to download all the files from server with a single button click is there any other way than making a zip file of all the files & presenting to user??
(I know the URL of the all the files I want to download & there are other files also in the same folder from which I want to download my files)
10 years ago
When i run following code on a tomcat server on local machine it rus fine & gives a correct zip file but when I run this on weblogic server then it gives error as

error:[c:\Documents & settings\mt1\local settings\temporary internet files\myzipfile[1].zip]": start of central directory not found. Zip file corrupt.
Possible error: Zip file error


Can anybody please help me in this?



10 years ago
weblogic is running on server. Can we make files on local machine from the code running on server?

Below code runnning on the server. when we execute this from the client computer it doesnt give any exception or error but
it is not creating any document on local.




10 years ago
No I dont have to Log on to web application to view the files I am downloading. When I run the code from eclipse on my local machine then it works fine& I can see the file created in Temp folder in C: drive but when I deploy the code on the weblogic server then I dont get the location where the file is getting stored, I doubt whether it is getting stored on server's directory
10 years ago
Hi Joe,

I have got permission to copy that file to folder to locam machine & Temp folder exist in the C drive.
I can open the URL in the browser.
When I run this code I dont get any exceptions (I checked printing sysouts till the end of the code, it runs without exceptions & errors) but I am not able to find out where this file is getting copied.

Thanks for your support!
10 years ago
@Joe
Thanks Joe for you reply

Your code is transferring data via HTTP, something you aren't going to be able to do locally unless you are running a web server configured to receive an upload.

can you elaborate it
or anybody has any other solution for this............

@Rob

yes, On line 12 I am specifying which file on the server I want to copy & below is the logic with destination folder on Local on line 13
10 years ago
I am trying to copy files fron the server to local machine, This code is not giving error while execution but I am not able to see file getting copied on my local machine
Probabaly file is getting copied on the server only.
Can anybody tell, how can I know where the file is getting copied & How I can copy it to a Local folder?

10 years ago