All I want is to upload a
drupal directory structure onto a server where I have FTP-only access. First client I tried: NcFTP. Problem: doesn't want to upload complete directories. Fails at "mput -r *", hangs or fails at "mput -r ." (depends on NcFTP's current mood). The next client I tried: Finder.app of OSX. OK, selected "Go -> Connect to server" from the menu, entered the FTP URL, logged in without problems. But it (falsely) recognizes the mounted FTP share (that's how access to an FTP server is represented by OSX, pretty nifty actually, if it only worked correctly) as read-only.
gna Why can't both clients
Just Work(tm)?!
Update: ncftpput now does the trick, with some trial-and-error.
Update 2: ncftpput was only a partial solution, here comes a better one:
for d in `find . -type d` ; do
files=`find $d -type f -maxdepth 1`
if [ -n "$files" ] ; then
ncftpput -u $user -p $password -m $host /$d $files
else
echo "XXX $d is empty and was probably not created!"
fi
done