Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Donald  
#1 Posted : Thursday, December 12, 2013 9:15:26 AM(UTC)
Donald

Rank: Member

Groups: Member
Joined: 12/12/2013(UTC)
Posts: 9

Hi,

I am using Activex/java Uploader 8.0.54.0. I copied .cab files and .jar file to server, But in my project no script folder, instead of that we are keeping files in /shared/test. Given codeBase as codeBase: '/shared/test/Uploader8.cab' other files also like this.. Is there changes expecting in Aurigma.uploader.js, i saw /Script/filename.cab there.

Now i am getting error in chrome and IE as "com.aurigma.uploader.Uploader Class not found"

Please help me...Thanks in advance

Andrew  
#2 Posted : Thursday, December 12, 2013 6:42:08 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
There is no need to change anything in aurigma.uploader.js. As long as you specify a correct URL to .jar and .cab files, it should work. Note, there is a different codebase for ActiveX and Java:

Code:
$au.uploader({
        id: 'Uploader1',
        activeXControl: {
                codeBase: "/shared/test/Uploader8.cab",
                codeBase64: "/shared/test/Uploader8_x64.cab"
        },
        javaControl: {
                codeBase: "/shared/test/Uploader8.jar"
        }
});

Also, make sure that if you type http://www.[your_site_name].com/shared/test/Uploader8.jar in the browser, it will start downloading the .jar file. Sometimes, a webserver may prevent downloading files with a certain extension.

Donald  
#3 Posted : Tuesday, December 17, 2013 6:27:23 AM(UTC)
Donald

Rank: Member

Groups: Member
Joined: 12/12/2013(UTC)
Posts: 9

Thank you Andrew, now the uploader is working, But could not send the sourcefile, it is showing null in server.. Please help me..
Andrew  
#4 Posted : Wednesday, December 18, 2013 5:33:49 AM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Could you post here a full code snippet with the uploader settings?
Donald  
#5 Posted : Wednesday, December 18, 2013 9:30:19 PM(UTC)
Donald

Rank: Member

Groups: Member
Joined: 12/12/2013(UTC)
Posts: 9

Code:
<input CLASS="BUTTON" type="button" name="Button" value="Add Files" onClick="javascript:$au.uploader('ImageUploader').uploadPane().addFiles();" >

		<br>

		<script type="text/javascript">
		var u = $au.uploader({

    		id: 'ImageUploader',
		type: "java",

    		width: '400px',

    		height: '200px',

    		paneLayout: 'OnePane',

    		
		activeXControl: {

        		codeBase: "./Uploader8.cab",

        		codeBase64: "./Uploader8_64x.cab",

        		version: "8.0.54.0"

    		},

    		javaControl: {

        		codeBase: "./Uploader8.jar",

        		version: "8.0.54.0"

    		},

    		uploadSettings: {

           		actionUrl: './receivev2.jsp?sid=<%= emailID %>&foldername=<%= foldername %>'

            	

      		  },

    		

    		 

    		folderPane: {viewMode: 'List'},

    		uploadPane: {viewMode: 'Details'},

    		messages : {

    			uploadCompleted: "successfull "

    		},

    		

    		restrictions:{

			fileMask: "*.*"

    		},

     		

    		folderProcessingMode:'show',

    		enableUploadProgress:'false'

    		

    

        

    // configure ActiveX/Java Uploader    

    

		});



		u.writeHtml();

		

		</script>

I am getting filename in servlet, but sourcefile is not there..

In servlet using parseMultiForm(request).

Edited by moderator Wednesday, February 12, 2014 9:37:23 AM(UTC)  | Reason: Not specified

Andrew  
#6 Posted : Friday, December 20, 2013 4:14:38 AM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
I don't see any converters here (i.e. settings for the files - whether you want to upload a source file, thumbnails, etc). There should be a block like:

converters:[ {mode: '*.*=SourceFile'}]

See this article for more details:

https://www.aurigma.com/...es-to-be-uploaded-iu.htm

Donald  
#7 Posted : Sunday, December 22, 2013 9:15:30 AM(UTC)
Donald

Rank: Member

Groups: Member
Joined: 12/12/2013(UTC)
Posts: 9

Thank you, Now it is working perfectly..
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.