The directory your files come from is the directory you are currently at when you do the ftp command. Otherwise you'll have to use lcd to move to where the files you want to upload are. You can do an lls to list the files from your current local directory. After starting your ftp session to the remote machine they will drop you at some directory but that might not be where your files need to go. Most hosting places I've worked with drop me in some generic place and then I have to use the CD command to change directory to the place I'm supposed to put the files. Since you're getting an error 160 (permission denied) when doing a put it sounds like the destination directory is not correct. They usually lock down any directory except the one you're supposed to be working in.

CB

On 5/13/13 1:31 PM, Teresa Cochran wrote:
Hi, Chris,

Currently, I'm getting error 160 when trying to use the put command. When using 
lcd for uploads, do I need to specify both the upload directory and the 
directory the files are coming from?

Teresa
On May 13, 2013, at 9:08 AM, Chris Blouch <cblo...@aol.com> wrote:

I haven't used ftp in a while since most sites I use now require using sftp. 
That said, I think typing prompt and hitting return would toggle the mget/mput 
yes/no prompt on or off. Also, most ftp command line tools support lcd which 
lets you change the local directory you are putting/getting files to after 
you're connected. I don't know how many times I've FTPed to a server, found the 
directory I wanted to put something into only to realize I had FTPed from the 
wrong directory on my local machine. So a little noodling with lcd fixed that 
and I didn't have to quit my ftp session and start over.

CB

On 5/11/13 5:27 AM, Georgina Joyce wrote:
Hello Teresa,

I've just done this:

Open a terminal.

typed: cd Doc

Then I pressed the tab key then the enter / return key.

Result being in my Documents directory.

I then entered the details of my domain using the built in ftp program.

I then tried the cd command to move to my public_html directory.

I typed: cd pub

Then pressed tab and then enter / return.

Result I successfully moved into that directory as in the terminal.

I then typed: mget *.html

Then pressed enter / return.

Result the ftp client pulled all *.html files. However, it did require me to 
press enter after every file. Maybe I needed to use a flag on the mget command.

So I'm guessing it would work for you. However, I have installed macports but 
tab completion was available to me prior to installing macports. I noticed that 
the ls command gave all the permissions which is really hard to read. This is 
why I use ncftp because the interface is a lot cleaner.

At the end of the day, just give it a go. I don't think you can break it.

HTH

Gena




On 10 May 2013, at 23:29, Teresa Cochran <vegaspipistre...@gmail.com> wrote:

Thanks for the suggestion, Gina. I hadn't thought of this option, to be honest. 
Is this a script in bash? I was just using the ftp command, and it worked 
nicely for one file at a time. I could just use the mget and then use tab 
completion, as I understand it?

I know just enough about command-line to be dangerous. :)

Teresa
On May 10, 2013, at 3:04 PM, Georgina Joyce <g...@gena-j.me.uk> wrote:

Hello,

I accept that you'd rather use a GUI but I wondered whether you understood tab 
completion and wild card characters? I use ncftp in the terminal which support 
these bash features.

Gena

On 10/05/2013 16:13, Teresa Cochran wrote:
Hi, all,

Unless I'm missing something, I'm having a lot of trouble with Cyberduck. The 
progress bar seems inaccessible, and the downloads stop a lot. I've looked into 
ftp via Terminal, but I'm not sure I want to type in the large numbers of 
filenames, as I'm downloading moderately large groups of files. I'm using a 
2009 Mac Mini with OS Mountain Lion. I'm running Clamxav antivirus, and kind of 
wondering if it might be checking downloads individually. Once I am able to 
start transferring a file, the speeds are very good.

Any ideas?

Thanks,
Teresa

--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


--
¯\_(ツ)_/¯

--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



--
¯\_(ツ)_/¯

--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to