LoadVariablesNum

  • laulau
  • Born
  • Born
  • No Avatar
  • Joined: Oct 08, 2009
  • Posts: 3
  • Status: Offline

Post October 8th, 2009, 1:34 am

Hello,

Jai daccès a problem with file on a remote server.

If jutilise the following syntax:

loadVariablesNum ( "http://monsite/fichiet_texte.txt", 0), no problem it works, I get the file contents.

My worry is that the text file located on another server, log / Pswd if jutilise conventional syntax (which works with a browser):

loadVariablesNum ( "h1t1t1p1: / / user: domain @ pws / text_file. txt ", 0)
jai an error opening file (jai put 1 because not possible to post Dadress)

What do I not?
Thank you in advance
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 8th, 2009, 1:34 am

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post October 8th, 2009, 5:39 am

Nice combination of english and french, did you use google translate :D
Honestly, i don't know why are you using that syntax anyway.
You really need to provide a user / password in order to get the content of a text file?
It seems to me that you're doing much like a ftp connection rather than getting a file from a site. Anyway you gonna hit the sandbox security if file is on another site.
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • laulau
  • Born
  • Born
  • No Avatar
  • Joined: Oct 08, 2009
  • Posts: 3
  • Status: Offline

Post October 8th, 2009, 9:45 pm

Hello,

thank you for your reply, but:

The site in question noffre no ftp server, I nai dautre choice to retrieving the
http content.

the site is locked by a log / password.

Ps
this is what I post when I used the EDIT function, it "translates" the post (???)
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post October 9th, 2009, 1:54 am

Even if you manage to access the file, you will need a cross domain policy on that site. So if no ftp for you, i doubt there will be a cross domain policy.

Read more here:
http://kb2.adobe.com/cps/142/tn_14213.html
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • laulau
  • Born
  • Born
  • No Avatar
  • Joined: Oct 08, 2009
  • Posts: 3
  • Status: Offline

Post October 9th, 2009, 4:04 am

Indeed, this solution not viable nest, jai done differently
downloading the text file via php on my server to Quil
be treated as local by flash.

In any case I thank you for this info that lit my lantern.
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post October 9th, 2009, 8:07 am

hehee, that's what i was about to suggest you now, to get it via php. I'm glad that you already did it :)
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 39 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.