Welcome, Guest. Please Login
 
  News:
Welcome to the new FileCatalyst - Unlimi-Tech Software community forum. This forum is read-only and is now only for reference. If you have a support request or are looking for information please use the Ticket system found at http://support.filecatalyst.com/
  HomeHelpSearchLoginRegister
 
Pages: 1
Send Topic Print
URL Encoded Filenames After Download (Read 31 times)
rugby10
YaBB Newbies
*
Offline



Posts: 10

URL Encoded Filenames After Download
05/13/09 at 20:41:10
 
We have been getting reports that users are having files saved using URL encoded filenames instead of normal filenames.

For example: (http removed so full url can be viewed)

script:
       var urls = "://www.xyz.com/Data/Ashley%20Tisdale%20-%20It%27s%20Alright,%20It%27s%20OK%20(Dave%20Aude%20Club%20Mix)%20WB%20Records.mp3#*#://www.xyz.com/Data/BK%20-%20Revolution%20(Big%20In%20Ibiza%20Dub)%20Big%20In%20Ibiza.mp3";
       var localfilenames = "Ashley Tisdale - It's Alright, It's OK (Dave Aude Club Mix) WB Records.mp3#*#BK - Revolution (Big In Ibiza Dub) Big In Ibiza.mp3";
       var callurlaftertransfer = "://www.xyz.com/DownloadComplete.aspx";

Files will be saved using the urls variable and not the localfilenames variable.

This has been reported for multiple browsers and operating systems. iTunes has been known to cause problems when running while downloading. But users who do not have iTunes installed are also having problems.

Are there any known reasons for this issue? Is there a way to fix it?

Thank you.

-rugby10
Back to top
 
 
  IP Logged
rugby10
YaBB Newbies
*
Offline



Posts: 10

Re: URL Encoded Filenames After Download
Reply #1 - 05/20/09 at 09:37:11
 

Anyone?? This is becoming a big problem for our users.

Thank you.
Back to top
 
 
  IP Logged
tkaczewj
YaBB Administrator
*****
Offline

Hello, Welcome to
Unlimi-Tech

Posts: 465

Re: URL Encoded Filenames After Download
Reply #2 - 05/20/09 at 10:10:33
 
We can't duplicate the problem locally. Could you post a broken example on your server. Please send us the link to your example privately.

Our email is info'at'utechsoft.com replace 'at' with @

Regards,
John
Back to top
 
 
  IP Logged
rugby10
YaBB Newbies
*
Offline



Posts: 10

Re: URL Encoded Filenames After Download
Reply #3 - 05/20/09 at 10:12:52
 

To start, can you verify that my example is coded correctly? Once verified, I can work to get a live example.

Thank you.
Back to top
 
 
  IP Logged
tkaczewj
YaBB Administrator
*****
Offline

Hello, Welcome to
Unlimi-Tech

Posts: 465

Re: URL Encoded Filenames After Download
Reply #4 - 05/20/09 at 21:27:35
 
I see a few issues, although none of them should cause what you are experiencing.

urls - should have brackets ( ) url encoded as well, all links are missing http: in front, this could have been stripped by the forums

localfilenames - should have single quote ' escaped with a back slash \

Also please verify that your delimiter is indeed set to #*#

Besides that, I don't see anything else, do you see a JavaScript error when the problem occurs?

Firefox has a good JavaScript debugger, try to run this page in Firefox to see if you get any errors.

John



Back to top
 
 
  IP Logged
rugby10
YaBB Newbies
*
Offline



Posts: 10

Re: URL Encoded Filenames After Download
Reply #5 - 06/25/09 at 23:46:17
 
I have tried your suggestion of adding a \ to single quote characters.

Here is the script on my machine: (http and script tags removed for posting here)

       var urls = "://rugby2/digital/MusicData/Dance/Cassi%27us%20_%20The%20Sound%20of%20Violence.
mp3";
         var localfilenames = "Cassi\'us _ The Sound of Violence.mp3";
         var callurlaftertransfer = "://rugby2/digital/members/DownloadComplete.aspx";


The file saves to my system as "Cassi". When a second file is added, it saves as Cassi%27us%20_%20The%20Sound%20of%20Violence.mp3

So, the problem is definitely the single quote character and how the udownload component handles it. When there are no files with a single quote character, they are all saved correctly.

And yes, #*# is the delimeter I am using and there are no javascript errors on the page.

Please let me know if you have any other suggestions.
Back to top
 
 
  IP Logged
rugby10
YaBB Newbies
*
Offline



Posts: 10

Re: URL Encoded Filenames After Download
Reply #6 - 07/14/09 at 19:26:26
 

Does anyone have a response to my previous post?

I really need to get this fixed.

Thank you.
Back to top
 
 
  IP Logged
Marc
YaBB Administrator
*****
Offline



Posts: 19

Re: URL Encoded Filenames After Download
Reply #7 - 02/10/10 at 10:27:24
 
Hi Rugby10,
Somehow your request fell out of view. Can yo tell me if this is still required?
Back to top
 
 
  IP Logged
Pages: 1
Send Topic Print