LoadVariablesNum

  • laulau
  • Born
  • Born
  • laulau
  • Posts: 3

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

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.
  • laulau
  • Born
  • Born
  • laulau
  • Posts: 3

Post 3+ Months Ago

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
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

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
  • laulau
  • Born
  • Born
  • laulau
  • Posts: 3

Post 3+ Months Ago

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
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

hehee, that's what i was about to suggest you now, to get it via php. I'm glad that you already did it :)

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 14 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.