Anyone can help me out. A trying to ftp from server A to server B.
from server A to B its working fine but from server B to A, its only showing connected only:
I refresh the inetd but nothing is happening.
Please extend your help, why its so.
i need to write a program to know how many users are presently connected to my ftp server and http server .
i need to keep a count of this and this count should be available to other different software . how to make this GLOBAL so that other softwares can access this count value (7 Replies)
Hello, I'm new here and I come from Germany.
At our AIX-ORACLE-System someone has deleted one important file and we'd like to find out who did this, next time.
Is there any command to find out who is connected?
I'm not trying to find out if it's root, etc., I'd like to get the DNS-Name or... (3 Replies)
Hello !
I've got a question . I really don't het this point. Let's supose that I have a client connected to a server.
I want the server IMEDIATLY know if the client is diconnected . How can I realize this ? :mad:
Amd I'm just curios about one thing. I have a server and multiple clients... (3 Replies)
Hello everyone.
We have a environment where we have DS8K storage and ES800 storage, the way to check to which storage the box is connected is using the LUN ID I get frm " pcmpath query device " command.
for ex:
75CXX - DS8K storage
26860 - ES 800 Storage
I was told to check... (4 Replies)
Dear All
I am trying to put a file from window system to solaris 10 box through ftp, but after connected to solaris 10 through window via ftp, I put a file( its a solaris package) through put command to solaris box. When I checked it on solaris box I get a file having 0 bytes. even I try to put... (3 Replies)
Be Gentle folks, I am a baby OpenSuSe 11.2 user :-)
In windows Vista, there is a world in the systray when you are Internet connected and not just local.
I have searched all over for a .RPM for the Network Manager or another packeg in Suse that can show me the same thing or something close.
... (0 Replies)
Hi there,
I have a Sun StorageTek 2501 plugged into a V440 (Solaris 10) via fiber and a crossover cable. This array worked fine for the past year, until I tried to install a second fiber card last night. Both cards came up OK in the OS, but I was no longer able to see my array.
I decided to... (1 Reply)
Hello,
A question please.
Could anyone tell me how to know the connected time for a user on unix ?
I'd need to know this information for several days.
Is there a command to get it ?
Thanks in advance (9 Replies)
May someone can answer this. Anytime I ignite my laptop to go online I see via etherape that I am connected to IANA as shown below. Is my provider redirecting me there, the cable under the sea, what is the reason for this?
This happened with a pretty normal desktop PC, as well with my ancient... (2 Replies)
Hi all experts in linux and programming!
I want to make work the following setup:
2 usb keyboards connected to a normal x86
One keyboard working as usual in xorg, but I need that the other one doesn't send anything to xorg but instead I want to process its keystrokes with some kind of... (15 Replies)
Discussion started by: SerKan
15 Replies
LEARN ABOUT PHP
ftp_site
FTP_SITE(3) 1 FTP_SITE(3)ftp_site - Sends a SITE command to the serverSYNOPSIS
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)