ftp configuration

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
Special Forums IP Networking ftp configuration
# 1  
Tools ftp configuration

I have been a unix box testing machine and I access to it through putty with my creditials now I have an sftp script to transfer files from that machine to some other ftp server but recently I come to know that due to some reason ftp server is not ready so I have to make my current machine itself to make it act like a ftp server..can you please guide me how to configure the current unix box machine to act like a ftp server itself so that I can cross check my sftp script locally..!!Smilie
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #135
Difficulty: Easy
As of 2006, approximately five percent of the Linux kernel was written by Linus Torvalds himself
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Missing FTP configuration files/commands

I was asked if I can create an FTP only user on a UNIX system I've inherited at work. (Solaris). I've worked on UNIX systems for a long time, but never really as an admin. I searched the web, and on this forum, for information on exactly how to do this. (The new user will also need to be... (4 Replies)
Discussion started by: HeyMoe
4 Replies

2. Solaris

ftp configuration

hi, I am using Solaris 10, actually i want to restrict user to access upper level directory while using ftp, means when user access a folder using ftp he has no access to go to base directory. If i am not wrong ftp configuration file use in solaris 10 is /etc/ftpd/ftpaccess kindly confirm, I... (1 Reply)
Discussion started by: zeeshan047
1 Replies

3. HP-UX

[Solved] Unable to rename file in ftp server .Net:FTP perl

Hello All, I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir. rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed. Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies

4. Shell Programming and Scripting

configuration for ftp script in main script

Hi, I am new to shell scripting,and i was planning to write a script that will FTP files to destination folder. I was planning that All configuration should be done through a properties files. and finally the output should be Files are transferred I have developed a properties file named... (4 Replies)
Discussion started by: rahul125
4 Replies

5. Shell Programming and Scripting

Automated FTP script using .netrc to multiple FTP servers

Hi all, I'm using the following script to automated ftp files to 1 ftp servers host= /usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp open $host bin cd ${directory} put $files quit ftp and the .netrc file contain machine login abc... (4 Replies)
Discussion started by: varu0612
4 Replies

6. UNIX for Advanced & Expert Users

Using FTP to check whether file is completely FTP... plz find the description below

Hi, We have some clients who will place huge files in to one of the remote server. And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients. My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies

7. Solaris

FTP - configuration

Hi all I need basic help to configure/check an FTP account on Solaris 9 (5.9) (by shell) with man ftp I'm not really able to configure that. On google or doc.sun.com I cant find a basic understanding of configuration an ftp server. Where are the files / setupfile. does somebody helps me with... (5 Replies)
Discussion started by: actino
5 Replies

8. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

9. Linux

FTP server configuration!

Hello, I use fedora linux. I want to configure my FTP server. Actually, I don't know anything about this server except that I know I have installed it. Please guide me with this. Thx (1 Reply)
Discussion started by: HSN
1 Replies

10. UNIX for Dummies Questions & Answers

FTP configuration in Solaris 5.7

Hi everybody ! How can I configure the ftp in solaris systems ? Wich files ? To resume : I want to create a user wich can get from a ftp session running from a PC, some files without going up in the directories. If I attached the ksh or sh shell to the user, he can go wherever he wants. If I... (7 Replies)
Discussion started by: MarcoW
7 Replies
netrc(4)							   File Formats 							  netrc(4)

netrc - file for ftp remote login data DESCRIPTION
The .netrc file contains data for logging in to a remote host over the network for file transfers by ftp(1). This file resides in the user's home directory on the machine initiating the file transfer. Its permissions should be set to disallow read access by group and oth- ers. See chmod(1). Tokens can be separated by SPACE, TAB, or NEWLINE characters. The following tokens are supported: account string Supply an additional account password. If this token is present, the auto-login process supplies the specified string if the remote server requires an additional account password. If the remote server does not require an additional account password, the auto-login process initiates an ACCT command. default Same as machine name, except that default matches any name. There can be only one default token, and it must be after all machine tokens. The default token is normally used as follows: default login anonymous password user@site Such an entry gives the user automatic anonymous ftp login to machines not specified in .netrc. login name Identify a user on the remote machine. If this token is present, the auto-login process initiates a login using the specified name. machine name Identify a remote machine name. The auto-login process searches the .netrc file for a machine token that matches the remote machine specified on the ftp command line or as an open command argument. Once a match is made, the subsequent .netrc tokens are processed, stopping when the EOF is reached or another machine token is encountered. macdef name Define a macro. This token functions the same as ftp macdef. A macro is defined with the specified name; its contents begin with the next .netrc line and continue until a null line (consecutive NEWLINE characters) is encountered. If a macro named init is defined, it is automatically executed as the last step in the auto-login process. password string Supply a password. If this token is present, the auto-login process supplies the specified string if the remote server requires a password as part of the login process. If this token is present in the .netrc file, ftp aborts the auto-login process if the .netrc is readable by anyone besides the user. skipsyst Skip the SYST command that is sent by default to all remote servers upon connection. The system command is what enables the automatic use of binary mode rather than the protocol default ascii mode. As some older servers cannot handle the ftp command, this directive is provided to allow inter-operability with these servers. EXAMPLES
Example 1 A Sample .netrc File A .netrc file containing the following line: machine ray login demo password mypassword allows an autologin to the machine ray using the login name demo with password mypassword. FILES
~/.netrc SEE ALSO
chmod(1), ftp(1), in.ftpd(1M) SunOS 5.11 25 Aug 2006 netrc(4)

Featured Tech Videos