Greg Lopp on 15 Jun 2006 17:54:23 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Uploading files to a remote website with ftp


George Langford wrote:
Here again I find myself struggling with a linux application
when I'd gotten used to a nice app (CuteFTP) in another OS.

I installed ftp with apt-get.
I logged in to my ISP's ftp port.
I entered my username and password.
I got the ftp prompt and changed into the destination directory,
which I thoughtfully had created ahead of time.

I then attempted to upload a bunch of files with mput and a
wild card, e.g., "mput /path/file*.*" Whereupon I was told that
I hadn't named my destination file.
what happens here if, rather than "mput /path/file*.*", you say "cd path" and "mput file*.*" ?

I ask because it may be trying to put the file "path/file1", when no "path" sub exists.
Can you provide us with the exact text of the commands and errors up to this point?
Do I really have to name each file specifically and one at a time,
or is there a way to upload a whole directory's worth of files
and end up with the same set of files at both destination and source ?
What you are trying to do should be possible. You should not have to name each file (what would be the point of mput otherwise). There's probably just some small detail that's out of whack.
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug