03-31-2009
Dear Praka,
FTP without user name / password can be done by ssh configuration. First you need to make ssh connection between two servers, then you able to do SFTP without password.
Command : sftp username@server_ip
For simple file transfer without user name / password use scp.
Regards,
Prakhar
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please help me out. it is very urgent.
when transfering the files from one server to other server if it is failed how to trace the status.
i am using two commands:
cd $SOURCE_FILE_PATH
ftp -niv $SRVR_NAME >> $LOG_PATH/$LOG_FILE << END_FTP
user $USER_ID $PASSWORD
bin
cd $REMOTE_FILE_PATH
! ... (0 Replies)
Discussion started by: ramana
0 Replies
2. 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
3. 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
4. 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
5. 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
6. Shell Programming and Scripting
Hi all,
I have a file in windows, example
a.txt
****
aaa
bbb
ccc
<empty line>
when i transfer this file to unix using ftp, and viewed the file
# vi a.txt
aaa
bbb
ccc
#
I dont get the empty line which i specified in that file in windows.
Please help me, which in unix... (5 Replies)
Discussion started by: Nandagopal
5 Replies
7. 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
8. 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
9. 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
10. 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
LEARN ABOUT HPUX
sftp-server
sftp-server(1M) System Administration Commands sftp-server(1M)
NAME
sftp-server - SFTP server subsystem
SYNOPSIS
/usr/lib/ssh/sftp-server
DESCRIPTION
sftp-server implements the server side of the SSH File Transfer Protocol as defined in the IETF draft-ietf-secsh-filexfer.
sftp-server is a subsystem for sshd(1M) and must not be run directly. There are no options or config settings.
To enable the sftp-server subsystem for sshd add the following to /etc/ssh/sshd_config:
Subsystem sftp /usr/lib/ssh/sftp-server
See sshd_config(4) for a description of the format and contents of that file.
There is no relationship between the protocol used by sftp-server and the FTP protocol (RFC 959) provided by in.ftpd.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/usr/lib/sftp-server
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsshdu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
sftp(1), ssh(1), ssh-add(1), ssh-keygen(1), sshd(1M), sshd_config(4), attributes(5)
To view license terms, attribution, and copyright for OpenSSH, the default path is /var/sadm/pkg/SUNWsshdr/install/copyright. If the
Solaris operating environment has been installed anywhere other than the default, modify the given path to access the file at the installed
location.
AUTHOR
Markus Friedl
SunOS 5.10 30 Jul 2003 sftp-server(1M)