Re: Re: lftp and embedded OS ftp server

2010-02-26 Thread mmoore . home
Thanks Daniel, the parallel option was it... I removed that and it started working just fine... (and the recls was not necessary - I threw it in because I needed it to see the update interactively...) as for the syntax, I couldn't get it to work as you described, although it does look

Re: Re: Re: Re: lftp and embedded OS ftp server

2010-02-25 Thread mmoore . home
The leading slash is a problem because drive2: is NOT a directory. It is another drive. above root. Not sure how else to say it, but the root or / (on drive1:) is where I start, but I need to change drives so that I can see the other filesystem that starts at /. I guess you should think

Re: Re: lftp and embedded OS ftp server

2010-02-25 Thread mmoore . home
Hey Daniel - thought of that, but lftp tries to interpret the cwd command, which it doesnt understand... would there be a way to pass a command directly to the server uninterpreted by lftp? Thanks, Matt On Feb 25, 2010 2:05am, Daniel Fazekas fds...@gmail.com wrote: On Feb 25, 2010, at

Re: lftp and embedded OS ftp server

2010-02-25 Thread Daniel Fazekas
On Feb 25, 2010, at 16:25, mmoore.h...@gmail.com wrote: See if quote CWD drive2: helps. Hey Daniel - thought of that, but lftp tries to interpret the cwd command, which it doesnt understand... would there be a way to pass a command directly to the server uninterpreted by lftp? Yeah,

Re: lftp and embedded OS ftp server

2010-02-25 Thread Daniel Fazekas
On Feb 25, 2010, at 17:42, mmoore.h...@gmail.com wrote: I thought just adding to the script would work, but now mirror appears to be using the file listing from the wrong drive? (manually, I had to issue recls to update the filelisting) Modified: lftp -c open -e \set ftp:list-options

Re: Re: lftp and embedded OS ftp server

2010-02-24 Thread mmoore . home
Thanks for the suggestions - no go so far. Pretty sure the issue is the preceding '/'. The server has the following structure: drive1: / /dir1 /dir2 drive2: / /dir1 /dir2 The FTP server defaults to drive1: and if the cd command includes the preceding '/' then it is assumed that the drive2

Re: Re: lftp and embedded OS ftp server

2010-02-24 Thread Kyle Thurow
None of those commands you typed into lftp were what I intended. I only put the quotes so you could distinguish what the command was. They way you tried to use it was completely self-defeating. As you can see, putting the whole thing in quotes results in an unknown command error. Additionally,

Re: Re: Re: lftp and embedded OS ftp server

2010-02-24 Thread mmoore . home
Sorry for the misunderstanding - not sure how the commands are interpreted, so messed that up pretty badly. lftp ad...@hostname:/ cd drive2\: cd: Access failed: 550 '/drive2\:': Not a directory or not accessible. see, the issue doesnt appear to be the : but the leading / You got the point

Re: Re: Re: lftp and embedded OS ftp server

2010-02-24 Thread Kyle Thurow
The leading slash really shouldn't be a problem. When you first connect to the ftp server, you are in the root directory (a.k.a. /). When you try to cd into a new directory from root, the slash is implicit, so cd drive2: and cd /drive2: are actually the same thing, and both should work. After