You are right, Thanks.
On Thu, Jan 6, 2011 at 12:55 PM, Ian Kelly wrote:
> On Thu, Jan 6, 2011 at 10:26 AM, Ariel wrote:
> > Hi everybody:
> >
> > I get an error when I used urllib2.urlopen() to open a remote file in a
> ftp
> > server, My code is the fol
On Thu, Jan 6, 2011 at 10:26 AM, Ariel wrote:
> Hi everybody:
>
> I get an error when I used urllib2.urlopen() to open a remote file in a ftp
> server, My code is the following:
>
>>>> file = 'ftp:/192.168.250.14:2180/RTVE/VIDEOS/Thisisit.wmv'
Looks to me l
Hi everybody:
I get an error when I used urllib2.urlopen() to open a remote file in a ftp
server, My code is the following:
>>> file = 'ftp:/192.168.250.14:2180/RTVE/VIDEOS/Thisisit.wmv'
>>> mydata = urllib2.urlopen(file)
Traceback (most recent call last):
File &quo
I have a Python script running on the default OSX webserver, stored
in /Library/WebServer/CGI-Executables. That script spits out a list of
files on a network drive, a la "os.listdir('/Volumes/code/
directory/')". If I just execute this from the terminal, it works as
expected, but when I try to acce
On Sun, Feb 22, 2009 at 9:02 PM, venutaurus...@gmail.com
wrote:
> On Feb 23, 9:25 am, MRAB wrote:
>> venutaurus...@gmail.com wrote:
>> > Hello all,
>> >I am writing an application where I need to open a shared
>> > file on a remote machine using python script. I tried using the
>> > f
On Feb 22, 9:02 pm, "venutaurus...@gmail.com"
wrote:
> On Feb 23, 9:25 am, MRAB wrote:
>
>
>
> > venutaurus...@gmail.com wrote:
> > > Hello all,
> > > I am writing an application where I need to open a shared
> > > file on a remote machine using python script. I tried using the
> > > f
On Feb 23, 9:25 am, MRAB wrote:
> venutaurus...@gmail.com wrote:
> > Hello all,
> > I am writing an application where I need to open a shared
> > file on a remote machine using python script. I tried using the
> > following function:
>
> > f = urllib.open("\\remote_machine\\folder1\\fil
venutaurus...@gmail.com wrote:
Hello all,
I am writing an application where I need to open a shared
file on a remote machine using python script. I tried using the
following function:
f = urllib.open("\\remote_machine\\folder1\\file1.doc")
I also tried using
class urllib.Fa
On Sun, Feb 22, 2009 at 8:13 PM, venutaurus...@gmail.com
wrote:
> Hello all,
> I am writing an application where I need to open a shared
> file on a remote machine using python script. I tried using the
> following function:
>
> f = urllib.open("\\remote_machine\\folder1\\file1.doc")
>
>
Hello all,
I am writing an application where I need to open a shared
file on a remote machine using python script. I tried using the
following function:
f = urllib.open("\\remote_machine\\folder1\\file1.doc")
I also tried using
class urllib.FancyURLopener(...)
but d
Hi All,
I'm trying to download a remote file through FTP. Here's the script:
###
#!/usr/bin/env python
import ftplib
import os
import time
ddir="C:\\ftp"
os.chdir(ddir)
f=ftplib.FTP("10.2.2.1", "user
"yqyq22" wrote:
> How to open remote file ? example: \\server\share\file.txt
like you'd open any other file:
f = open(filename)
e.g.
f = open(r"\\server\share\file.txt")
--
http://mail.python.org/mailman/listinfo/python-list
How to open remote file ? example: \\server\share\file.txt
thanks a lot
--
http://mail.python.org/mailman/listinfo/python-list
13 matches
Mail list logo