Re: FTP without username and password

2022-12-07 Thread Carlos Bermúdez
El 6/12/2022 a las 9:32 p. m., Dennis Lee Bieber escribió: On Tue, 6 Dec 2022 20:42:42 +0100, ^Bart declaimed the following: I tried the written Python code but it needs to insert a username and password so it's a different service than TFTP but maybe there's also a code to do it in Python! ;

Re: FTP without username and password

2022-12-07 Thread Barry
 > On 7 Dec 2022, at 16:49, ^Bart wrote: > >  >> It's a whole different protocol. TFTP is simplified to the point it >> will fit on embedded devices which don't need security (the assumption >> being that one has the embedded device physically present, FTP assumes >> distributed networks). >

Re: FTP without username and password

2022-12-07 Thread Grant Edwards
On 2022-12-07, Dennis Lee Bieber wrote: > It's a whole different protocol. TFTP is simplified to the point it > will fit on embedded devices which don't need security (the > assumption being that one has the embedded device physically > present, FTP assumes distributed networks). One of the big

Re: FTP without username and password

2022-12-07 Thread ^Bart
It's a whole different protocol. TFTP is simplified to the point it will fit on embedded devices which don't need security (the assumption being that one has the embedded device physically present, FTP assumes distributed networks). https://wiki.python.org/moin/tftp I never used TFTP so

Re: FTP without username and password

2022-12-07 Thread ^Bart
The Python code you showed was implementing an FTP server. That's a completely different protocol from TFTP. There are TFTP implementations for Pythong. This one works well: https://github.com/msoulier/tftpy I didn't know the difference of FTP and TFTP so... I thought TFTP was just a FTP witho

Re: FTP without username and password

2022-12-06 Thread Dennis Lee Bieber
On Tue, 6 Dec 2022 20:42:42 +0100, ^Bart declaimed the following: > >I tried the written Python code but it needs to insert a username and >password so it's a different service than TFTP but maybe there's also a >code to do it in Python! ;) > It's a whole different protocol. TFTP is si

Re: FTP without username and password

2022-12-06 Thread Grant Edwards
On 2022-12-06, ^Bart wrote: >> In general, "anonymous FTP" is done technically with a username and >> password. Can you look at how the device tries to connect, and then >> make that username (probably "anonymous") and that password (could be >> anything, traditionally was an email address) valid

Re: FTP without username and password

2022-12-06 Thread ^Bart
In general, "anonymous FTP" is done technically with a username and password. Can you look at how the device tries to connect, and then make that username (probably "anonymous") and that password (could be anything, traditionally was an email address) valid for fetching? Thanks for your reply, I

Re: FTP without username and password

2022-12-06 Thread ^Bart
The code above already does make the directory available without a username and password. Do you mean you need the directory to be *writable* without a username and password? If so try the '-w' option. Thanks for your reply, I solved by TFTP SolarWind free tool, like what I wrote in another pos

Re: FTP without username and password

2022-12-06 Thread Chris Angelico
On Wed, 7 Dec 2022 at 02:51, ^Bart wrote: > > Hi Guys, > > usually I use this code on my Debian Bullseye: > > # python3 -m pyftpdlib -i 192.168.0.71 -p 21 -d /home/my_user/ftp > > It works, it's simply easy and perfect but... a device in my lan needs a > ftp folder without username and password! >

Re: FTP without username and password

2022-12-06 Thread Jon Ribbens via Python-list
On 2022-12-06, ^Bart wrote: > Hi Guys, > > usually I use this code on my Debian Bullseye: > > # python3 -m pyftpdlib -i 192.168.0.71 -p 21 -d /home/my_user/ftp > > It works, it's simply easy and perfect but... a device in my lan needs a > ftp folder without username and password! > > I tried to s