Re: I get an error when I used urllib2.urlopen() to open a remote file in a ftp server

2011-01-07 Thread DaithiF
Hi, you only have 1 forward slash after the ftp: protocol string, you need two: 'ftp:*/*/16.168.250.14:2189/RTVE/VIDEOS/Thisisit.wmv' -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroup

Re: I get an error when I used urllib2.urlopen() to open a remote file in a ftp server

2011-01-07 Thread Scott Hebert (slaptijack)
>         file = 'ftp:/16.168.250.14:2189/RTVE/VIDEOS/Thisisit.wmv' Looks like you are missing a second slash before the IP address there. file = 'ftp://16.168.250.14:2189/RTVE/VIDEOS/Thisisit.wmv' -- Scott Hebert http://slaptijack.com/ -- You received this message because you are subscribed t

I get an error when I used urllib2.urlopen() to open a remote file in a ftp server

2011-01-06 Thread Ariel
Hi everybody: I get an error when I used urllib2.urlopen() to open a remote file in a ftp server, what I am trying to do is to make a view to force the browser to download a file to disk instead of playing or displaying it. My code is the following: file = 'ftp:/16.168.250.14:2189