Not able to access uploaded file in python script

I am trying to access a file from my new app -

ifile  = open('http://hosting.tropo.com/5054252/www/PL_contest.csv', "rb")

But it is throwing an error saying it cannot access the file -


Jun 9 16:00:03.060 rt2.dev.wdc.sl.tropo.com PRISM 5054252/5061658/ae19958d3a1b14dd9e6e471a7c65fd98/2c10990cbe1a9c269866c34864ac6576/1/0/[Tropo-Thread-2c10990cbe1a9c269866c34864ac6576]/#TROPO#: ApplicationInstance[http://hosting.tropo.com/5054252/www/FirstApp.py , 2c10990cbe1a9c269866c34864ac6576] has runtime errors: IOError: [Errno 2] No such file or directory: 'http://hosting.tropo.com/5054252/www/PL_contest.csv' in <script> at line number 5 at line #5 with cause: Traceback (most recent call last):\n File "<script>", line 5, in <module>\nIOError: [Errno 2] No such file or directory: 'http://hosting.tropo.com/5054252/www/PL_contest.csv'\n@T: javax.script.ScriptException:


Please sign in to leave a comment.