10 More Discussions You Might Find Interesting
1. AIX
Hi,
I need to transfer 2000 files from one host to another..
I modified /etc/security/limits to -1 and ulimit -f, ulimit -s, ulimit -a..
Even then only 700 files are transferred.
Could You please help me to sort out this issue..
I think some configuration related to memory is... (3 Replies)
Discussion started by: Priya Amaresh
3 Replies
2. Windows & DOS: Issues & Discussions
Hi All,
My PC with Windows XP SP2 has some problem with ftp service.
FTP Server is : Windows Server 2003 Standard R2
The condition is I can log in and also can change ftp server directory,
But I can not listing the file and can not get or put any file.
It will hang and nothing happen until... (4 Replies)
Discussion started by: wilsonSurya
4 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
I want to transfer file using ftp protocol .
I m using following linux distribution.
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver
Description: Oracle VM server release 2.2.0
Release: 2.2.0
Codename: ... (5 Replies)
Discussion started by: pinga123
5 Replies
4. Shell Programming and Scripting
Hello All,
How we can capture the FTP file transfer status. I would like do the exceptions handling for the FTP file transfer
My code is something like this...
ftp -nvi $FTP_SRVR |&
print -p user $UID $PWD
print -p cd mydir
print -p put $FILE_NAME
print -p close
print -p bye
... (3 Replies)
Discussion started by: amazon
3 Replies
5. Shell Programming and Scripting
I am going to transfer file from UNIX directory to remote windows location and i wrote the script but i am getting the error as 'FTP: not found' or i am getting this error 'The file path is not found'.
Please help me to resolve this problem as early as possible.(urgent).
my script is,
... (6 Replies)
Discussion started by: praka
6 Replies
6. Shell Programming and Scripting
hi i am doing a passive ftp file transfer . during that i got the following error.
"ftp> put FTPS_MAILBOX
local: FTPS_MAILBOX remote: FTPS_MAILBOX
421 Service not available, remote server has closed connection
Passive mode refused. Turning off passive mode.
No control connection for... (1 Reply)
Discussion started by: Satyak
1 Replies
7. Shell Programming and Scripting
Hi Guys,
I wanted to transfer files from FTP machine to Linux Machine.
In this, I need to create a batch file that will connect to the Linux Machine and Transfer the files specified as the parameter to the files.
Ex : transferfiles Product Time Geography
Here transferfiles shld contain... (4 Replies)
Discussion started by: Swapna173
4 Replies
8. Shell Programming and Scripting
hi
i am trying to connect to a remote server and trying to uploa a file.
during upload i am getting ":Broken pipe" error
please help (0 Replies)
Discussion started by: Satyak
0 Replies
9. Shell Programming and Scripting
Hi All,
I am very new to shell scripting,I have some doubts how we can do a file transfer using ftp
I wanted to transfer files using non_secure ftp and secure ftp(sftp) mode,
for secure ftp i am using following code
verbose="verbose"
ftp="/usr/bin/ftp"
user="ABC"
pass="123"... (1 Reply)
Discussion started by: sudhi
1 Replies
10. HP-UX
Hi all
Pls help me this problem in FTP transfer file. I found in var/adm/syslog/syslog.log have some error when transfer file via FTP as below :
Jan 10 12:35:32 ABC ftpd: FTP LOGIN FROM ABCA (Sucessfully Open session )
Jan 10 12:40:48 ABC ftpd: FTP LOGIN FROM ABCA (Sucessfully Open session... (3 Replies)
Discussion started by: cuongpc
3 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)