Thank you Kai,
I found an odd thing. When I try using your command to send all text
files to a share on the NAS that I created it works perfectly.
When I try to ftp to the public directory I get the following error:
Access failed: 553 Users may not upload files (/public/Uploadtest.txt)
I googled this and it seems many people have had the same exact
problem. It seems to have to do with the fact that the share was
premade by Western Digital and not a share that I made.
What I don't understand is why I can upload the same file to the public
directory using Filezilla, but not LFTP.
Thank you for your help.
On Thu, 2018-05-31 at 20:27 +0200, Kai Stian Olstad wrote:
> On 31.05.2018 14:38, john Niendorf wrote:
> > 
> > I have read the man page for LFTP as well as searched on the web,
> > but I
> > guess I fundamentally do not understand the basics of LFTP.
> > My question is: How would I move a file from ~/Desktop to the NAS
> > public directory?
> > 
> > I can do this in Filezilla, but have been unable to get it to work
> > from
> > the command line.
> > 
> > I tried several variations of :
> > 
> > lftp  mput ftp:// id="-x-evo-selection-start-
> > marker"> /home/john/Desktop/*.txt -p 21 -u
> > <name>,<password>
> > 
> > I am using mput to avoid typing the exact name of the file each
> > time.
> > The public directory on the NAS is open to all users, but anonymous
> > FTP
> > is disabled. A user name and password is required to FTP into the
> > public directory.
> > 
> > What am I doing wrong? I would greatly appreciate any help.
> try
> lftp -c 'open -u <name>,<password>; mput -O /public 
> /home/john/Desktop/*.txt'
lftp mailing list

Reply via email to