Redirect on case of error

Upload core product.
Post Reply
FranzIt
Posts: 3
Joined: Mon May 10, 2010 2:30 pm

Redirect on case of error

Post by FranzIt »

Hi to all
I need to know if there is a parameter on jclientupload that permit the redirect to a specify page in case of error.

tnx for the answer

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Redirect on case of error

Post by support »

Redirect the browser to another URL in case of upload error ?
No, but you can use JSAPI to do so. There is a callback JSTransferFailed and then you can redirect to any URL you need.
http://www.jfileupload.com/products/tools/index.html

FranzIt
Posts: 3
Joined: Mon May 10, 2010 2:30 pm

Re: Redirect on case of error

Post by FranzIt »

mm ok tnx
I'm not an expert, can you give me a simple example to use it ?


in the zip there is a ftp version, only http ..... it's possible to have the ftp version ?
Tnx for answers.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Redirect on case of error

Post by support »

Here is the HTML+JavaScript for FTP + JSAPI
applet_ftp_jsapi.zip
(2.94 KiB) Downloaded 993 times

FranzIt
Posts: 3
Joined: Mon May 10, 2010 2:30 pm

Re: Redirect on case of error

Post by FranzIt »

ok tnx!!

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Redirect on case of error

Post by support »

BTW: We've added this sample in the next JSAPI release (2.7).

Post Reply