tags:

views:

46

answers:

0

I have an Adobe Air app that serves as a download manager. It downloads files that are available via HTTP as well as FTP URLs. I discovered an IOErrorEvent.IO_ERROR downloading symlinks via HTTP. I tried specifying an alternate FTP address and it worked fine. I assumed it was because of a security setting in Apache.

It is desirable for us to use HTTP for certain reasons so I developed a "catch and fall back" approach where I I try HTTP and if I catch an error, I try the FTP address. This seemed to be working quite well, but during testing I found that this approach works fine on the Mac, but not on the PC.

Summary for URLLoader loading symlink:

HTTP on PC: IOErrorEvent.IO_ERROR HTTP on Mac: IOErrorEvent.IO_ERROR FTP on PC: IOErrorEvent.IO_ERROR (but file still downloads). FTP on Mac: Works fine

Can anyone explain this problem. It might help me develop a workaround if I understood why this was happening. Debugging is difficult because I do not have access to a debugger on a PC.