Re: [lftp] Pardon my slowness, but I have a basic question on uploading a file to my NAS

2018-05-31 Thread john Niendorf
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.
John
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">192.168.1.238/public /home/john/Desktop/*.txt -p 21 -u
> > ,
> > 
> > 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 , 192.168.1.238; mput -O /public 
> /home/john/Desktop/*.txt'
> ___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] Pardon my slowness, but I have a basic question on uploading a file to my NAS

2018-05-31 Thread Kai Stian Olstad

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">192.168.1.238/public /home/john/Desktop/*.txt -p 21 -u
,

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 , 192.168.1.238; mput -O /public 
/home/john/Desktop/*.txt'


--
Kai Stian Olstad
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


[lftp] Pardon my slowness, but I have a basic question on uploading a file to my NAS

2018-05-31 Thread john Niendorf
Hello LFTP folks,

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">192.168.1.238/public /home/john/Desktop/*.txt -p 21 -u
,

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.

Thank you,

John___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp