Hi All,
I have a ftp link as "ftp://ftp1.xyz.org/abc_ike/". The same thing is opening fine when I use a browser. But I am not sure how to connect to the above link from console. I used the command
The above is not working. I am not getting any error it simply stands still. Can someone please let me know how to use the ftp command.
If i do a ftp localhost , it works but if i do a ftp x.x.x.x (ip ) it does not work thoug all the services are running what could be the reason for this
bash-3.00# ftp localhost
Connected to localhost.
220-
bash-3.00# ftp 10.63.25.176
Connected to 10.63.25.176.
421 Service not available,... (7 Replies)
Hi,
Can someone help me on how to ftp to UNIX server from an another UNIX Server.
I tried the follwoing but it is not working.
ftp -n 10.10.0.1
quote user usrname
quote pass passwd
ls
Though ftp is starting it is not allowing me run command.....
it is asking to
Thanks in... (5 Replies)
Hi All !
We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows.
I have used the utility ZIP like the below.
zip -e <newfilename> df2_test_extract.dat
but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Hi All,
can some one please help me to solve this issue, its urgent:confused:
We need to FTP a file form our Unix server to an external client FTP location.
I am trying to connect to the proxy server first and then use the below USER comment to connect to the external FTP server, and its working... (3 Replies)
Hi Guys,
I have trouble connecting to ftp server. My task is to connect to the proxy server and get the latest file to the local machine. It works fine when i do the same steps manually. I've been trying to do it in multiple ways but im just not able to connect. When i check the log, this is what... (4 Replies)
Hi All,
FTP ports opens with the given user name and password and allows to download file through COMMAND PROMPT. Code as below:
H:\>ftp ftpxxxxx
Connected to entvc2ft07-pub.xxxxx.com.
220 Microsoft FTP Service
User (entvc2ft07-pub.xxxxx.com:(none)): userxxxxx
331 User name okay, need... (1 Reply)
I have a general problem of connection to my site 'noos'.
My server's ftp name is 'mapage.noos.fr' and login is 'stehub', according to my hotline. I just need to fill the field Password to be connected (in software like Transmit or Dreamweaver), theorically.
BUT IT DOES NOT WORK and my... (7 Replies)
We have RHEL 5.8 in our environment, I had a query whether we can implement an FTP server using vsftpd package and Linux configurations like setsebool without using any external FTP clients like FileZilla etc. I am very confused on this. The FTP functionalities that should be present are download &... (3 Replies)
Hi Everyone,
I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
Hi Friends
I have created a shell script to connect to a windows server. But the problem is while trying to run the script I am not getting any output. After running the script it is hanged and the prompt is not showing until if I press the ctrl+Z to break the script. I also tried using the FTP... (2 Replies)
Discussion started by: Kannannair
2 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)