Tag Info

New answers tagged

0

I don't have access to LFTP at the moment, but I suspect you're looking for the --only-missing param, which is only usable with mirror. Try this: lftp <<<EOF open -u user,pass ftp2 mirror --reverse --only-newer $programa_dir/* / bye EOF


0

Please try adding the below command which will be helpful to provide full access to the local user, mkdir /home/ftp_user/www_dev mount --bind /var/www/dev/ /home/ftp_user/www_dev


0

files=$(echo $line/processed/*) yafc ftp://blabla@192.168.178.54 <<** put $files close quit ** The find command separates found files with newlines (one file per line). As you don't actually seem to need the find functionality you can use files=$(echo $line/processed/*). The here document expanded to put file1 file2 file3 ... When you tried the ...


2

You can use access control lists commands. First set owner apache to the directory sudo chown -R apache:apache /var/www/public_html/a Now set acl so that ftp user can upload folders. FOR USER sudo setfacl -R -m u:yulichika:rwx /var/www/public_html/a FOR GROUP sudo setfacl -R -m g:users:rwx /var/www/public_html/a Hope this will solve your problem.


2

You can use a client that supports the FXP protocol, as described in one of the answers from this webmaster.stackexchange.com Q&A: How can I transfer files from one server to another server using FTP The following is from the SmartFTP Knowledge base: excerpt What Is FXP? FXP stands for File eXchange Protocol. It lets you copy files from one ...


0

The output of this command sequence: $ sudo yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile repo id repo name status CactiEZ CactiUsers Cactiez Repo 30 pgdg93 PostgreSQL 9.3 6 - x86_64 195 repolist: 225 Would seem to indicate that ...


1

The 'ftp' command does not seem to return other error codes than 0. An alternative solution would be to check the FTP return codes. There is some examples in how to do this here: http://stackoverflow.com/a/4442763


2

Unfortunately, you are using Name Based Virtual Hosting which works because apache reads the HTTP header for the hostname of the client and decides which <VirtualHost> block to use depending on that value. Your block tells it to proxy the request to another server. There is no similar facility in ssh or ftp. The nearest you can get is to use ...


0

Solution: Inetd 1) you must log ftp/fptd traffic. in /etc/inetd.conf add following arguments ftpd -l -v -o -i -W where -l log traffic to syslog.log -v add verbosity -i log incomming files (to /var/adm/syslog/xferlog) -o log outgoing files (to /var/adm/syslog/xferlog) -W tell ftpd to use syslog's configuration syslog 2) tell syslogd to catch ftpd's ...



Top 50 recent answers are included