10-12-2011
it gave me some result but not really obvious. i want to check if my server has ftp?
where is the location of that?
and what are the credentials? (because somebody wants to ftp some files into my ftp and he needs the credential )
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
when I type ftp on the server (Sco Unix 5.0.4) it gives an error messages which is "ftp: ftp/tcp: unknown service"
but I have this service in '/etc/services' file.
Also when I want to telnet from another machine to this machine is gives also 'telnet: tcp/telnet: unknown service' this... (2 Replies)
Discussion started by: alisevA3
2 Replies
2. AIX
I would like to ask for you suggestions or comments see if you can help.
Since system auditing is under progress and the AIX is the main
investigated unit. They are asking to disable the FTP service to enhance
the security but I doubt. For daily use, the FTP will help administrator
to download... (1 Reply)
Discussion started by: shanemcmahon
1 Replies
3. Linux
:confused:
Hi
Can anyone tell me how to check the FTP process status in linux .
eg,I'm ftpping some files from "A" server to "B" server through FTP command ,
after ftpping these files , I 'm suppose to delete the files which are successfully ftpped from "A" server ,but when I 'm checking the... (1 Reply)
Discussion started by: GaneshB
1 Replies
4. UNIX for Dummies Questions & Answers
could you please guys and gals to educate me about the ftp...implementation and how to use it on BSD? thanks a lot (2 Replies)
Discussion started by: lipbalm
2 Replies
5. Linux
Hi all,
I set up FTP service at my linuxAbox.
Everything is good.
When i did FTP from my LinuxB box , it authenticated just fine.
The problem is:
1. I can't list the directory
2. when i use ls command to list the directory, it showed:
227 Entering passive mode... (2 Replies)
Discussion started by: c00kie88
2 Replies
6. Solaris
In my Solaris 10 - Netra CP3060, the following particular script is not running:
lrc:/etc/rc2_d/S00set-tmp-permissions
lrc:/etc/rc2_d/S07set-tmp-permissions
Above script is to set the default permission of /tmp & /var/tmp while rebooting if it found any inconsistencies. I changed the file... (4 Replies)
Discussion started by: ramnagaraj
4 Replies
7. AIX
Hi,
lets say we have two boot interfaces en0 en1
and two resource groups, with two service ips, sip1 and sip2, one persistent ip pers1
both persistend and service ips are applied as ip-alias
when I start the cluster, and bring the resource groups up, it looks like
en0: sip1 and sip2
... (4 Replies)
Discussion started by: funksen
4 Replies
8. Shell Programming and Scripting
Hi All,
I'm a new user. When I try to use ftp in a script, its throwing the below error "ftp: Name or service not known".
what could be the issue??? Pls help.;) (9 Replies)
Discussion started by: Naga06
9 Replies
9. HP-UX
hi everybody,
I can easily enable /disable the FTP service from SAM, how can I do this via command line? using inetd? how?
cheers,
messi (1 Reply)
Discussion started by: messi777
1 Replies
10. AIX
Hi all,
How can I close ftp port 21 on VIO server.
Best regards,
---------- Post updated at 10:06 AM ---------- Previous update was at 08:45 AM ----------
I resoved with switch to OS mode.
$ oem_setup_env (0 Replies)
Discussion started by: getrue
0 Replies
FTP_SITE(3) 1 FTP_SITE(3)
ftp_site - Sends a SITE command to the server
SYNOPSIS
bool ftp_site (resource $ftp_stream, string $command)
DESCRIPTION
ftp_site(3) sends the given SITE command to the FTP server.
SITE commands are not standardized, and vary from server to server. They are useful for handling such things as file permissions and group
membership.
PARAMETERS
o $ftp_stream
- The link identifier of the FTP connection.
o $command
- The SITE command. Note that this parameter isn't escaped so there may be some issues with filenames containing spaces and other
characters.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Sending a SITE command to an ftp server
<?php
// Connect to FTP server
$conn = ftp_connect('ftp.example.com');
if (!$conn) die('Unable to connect to ftp.example.com');
// Login as "user" with password "pass"
if (!ftp_login($conn, 'user', 'pass')) die('Error logging into ftp.example.com');
// Issue: "SITE CHMOD 0600 /home/user/privatefile" command to ftp server
if (ftp_site($conn, 'CHMOD 0600 /home/user/privatefile')) {
echo "Command executed successfully.
";
} else {
die('Command failed.');
}
?>
SEE ALSO
ftp_raw(3).
PHP Documentation Group FTP_SITE(3)