10-20-2014
Quote:
Originally Posted by
Corona688
There are more things than invaders which could alter the file. These file permissions were invented for a reason, long before the internet even existed. They are to prevent you from shooting yourself in the foot.
A program glitch could touch it. You might overwrite it by accident yourself, typing in 'put' instead of 'site exec'. Or any of a thousand things we'd never think of because they don't happen to files which aren't set 777.
In all cases, 'permission denied' is what you'd rather the system do, instead of allowing it to be filled with garbage.
777 is not the magic sledgehammer to solve all problems. Like a real sledgehammer, it makes giant holes.
I do not want any warnings from you about any risk, I know about the risk.
I want a solution for my problem
Greetings from Germany
Peter
---------- Post updated at 12:56 PM ---------- Previous update was at 12:50 PM ----------
Quote:
/etc/ftp-exec is a directory not a file. Try putting your file in that directory.
Yes I have done it, but no work.
I think there is a problem in the configuration and enable this command in FTP.
but I dont know where I can this to configurate
Greetings Peter
10 More Discussions You Might Find Interesting
1. HP-UX
An outside vendor has staged 2 batch files for us and I've tried to retrieve the files using the commands that they've indicated I could use to retrieve one file at a time. I've tried using this command in a shell script after a successful connection to their server:
get "$$ ID=IL096869 BID='PGP... (2 Replies)
Discussion started by: mheinen
2 Replies
2. UNIX for Dummies Questions & Answers
Hi everyone,
can someone please tell me what can be wrong here?
Script:
ftp -v -n $FTPSERVER<< EOP >$LOGFILE 2>&1
user $USERID $PASSWD
ascii
site lrecl=500
site cyl
site PRI=600
site SEC=300
lcd $FTPLOCALDIR
cd $FTPTARGETDIR
put $SOURCEFILE $TARGETFILE
quit
EOP
Output:... (11 Replies)
Discussion started by: swoldering
11 Replies
3. Solaris
Hi,
I need to find/implement an application that FTPs (puts) all new files in a certain directory to an external storage unit. This application should check for new files every 10 seconds (leaving the FTP connection open in between the 10 seconds).
The easiest way would be if there are... (2 Replies)
Discussion started by: KittyJ
2 Replies
4. UNIX for Dummies Questions & Answers
I am trying to send email using the "mail" command. I keep getting an "exec failed. errno=2." message.
Here is one the commands I have tried:
mail test@mycompany.com < test1.out
Any ideas what may be causing this error msg? (1 Reply)
Discussion started by: hawkman2k
1 Replies
5. Shell Programming and Scripting
Hi everybody !
I writed php code so exec bash shell via php (SMS Send via bash shell) but i have problem as follow :
1. When i exec from linux mode : ./sms.sh --- output is "Messages ... OK". Then all message has been sent.
2. When i exec from PHP site --- return value is "Message ... OK" on... (1 Reply)
Discussion started by: lamthenhan
1 Replies
6. Solaris
Using FTP on Solaris 5.8, I am not able to use the SITE command. It says Invalid command. I am trying to change the permission of the transmitted files to -rw-rw-rw on the destination machine. Any help would be greatly appreciated. (2 Replies)
Discussion started by: gauravsachan
2 Replies
7. Shell Programming and Scripting
HI,
I'm downloading one day old files from ftp site.
Below is my script
----------------------------
printf "open $HOST \n" > ftp.cmd
printf "user $USER $PASSWD\n" >> ftp.cmd
printf "bin\n" >> ftp.cmd
#printf "cd /Models/\n" >> ftp.cmd
printf "prompt\n" >> ftp.cmd
printf "for oldfile... (4 Replies)
Discussion started by: shekhar_v4
4 Replies
8. Shell Programming and Scripting
Hello,
i am trying to read one file in which questions are stored and then read the answers from keyboard. Here is what i came up with. But when i run it the contents of whole file gets displayed without taking any input from keyboard. Please help me where i went wrong.
exec<questions... (1 Reply)
Discussion started by: salman4u
1 Replies
9. UNIX for Dummies Questions & Answers
Hello,I am trying to put something on the ftp server using the put command. Whenever I try, I get this error:
ftp> put SIMS.war
local: SIMS.war remote: SIMS.war
200 PORT command successful
553 Can't open that file: Permission denied
I have set rwx for all on that file and I still am... (3 Replies)
Discussion started by: mojoman
3 Replies
10. Shell Programming and Scripting
If i use ftp command under if statement it shows the error "Syntax error at line 19 : `<<' is not matched." But if i use ftp command outside if statement, then it is running fine. Can anyone please help me in this.
Code:
#!/bin/sh
echo "\nPress 1 for automated file dumping."
echo... (9 Replies)
Discussion started by: makauser
9 Replies
LEARN ABOUT DEBIAN
filezilla
filezilla(1) FileZilla Manual filezilla(1)
NAME
FileZilla - FTP client
SYNOPSIS
filezilla
filezilla [-l <logontype>] <FTP URL>
filezilla -h|-s|-v
filezilla -c <site>
DESCRIPTION
FileZilla is a powerful client for plain FTP, FTP over SSL/TLS (FTPS) and the SSH File Transfer Protocol (SFTP).
OPTIONS
-c <site>, --site <site>
Connect to the given site from the Site Manager. Site has to be given as complete path, with a slash as separation character. Any
slash or backslash that is part of a segment has to be escaped with a backslash. Path has to be prefixed with 0 for user defined
entries or 1 for default entries. Site path may not contain double quotation marks.
Example: filezilla -c 0/foo/bar/sl/ash connects to the user site sl/ash in the site directory foo/bar
May not be used together with -s nor with URL parameter.
-h, --help
Displays a help dialog listing these commandline options.
-l <logontype>, --logontype <logontype>
Set a special logontype, can only be used in combination with a FTP URL as argument.
Logontype has to be either ask or interactive. If -l isn't given, the normal logontype is used.
-s, --sitemanager
Start with Site Manager opened. May not be used together with -c nor with URL parameter.
-v, --version
Display version number of FileZilla.
ENVIRONMENT
The FZ_DATADIR environment variable can be used to specify the directory containing FileZilla's data files.
SUPPORT
Please visit http://filezilla-project.org/ for further information. Report bugs only if you are using the latest version available from the
FileZilla website.
COPYRIGHT
Copyright (C) 2004-2010 Tim Kosse
FileZilla is distributed under the terms of the GNU General Public License version 2 or later.
SEE ALSO
fzdefaults.xml(5)
April 2008 filezilla(1)