Working with FTP

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Working with FTP
# 1  
Old 10-06-2012
Working with FTP

Hi all,
i am using fedora 11,and want to make my system as ftp server. I have installed vsftp package and vsftpd daemon is also running.
Can i access my files from outer world i.e. internet using ftp? How can i do that?
i started vsftpd daemon and tried to access server from other system like ftp://<static_ip> , but its giving error. Am i hitting the server in wrong way?
what should i do to configure my server. what are the necessary changes i need to do in vsftpd.conf files?
I have already changed 'anonymous_enable=YES'
Do i need to install other different package?
I hope you are getting what i need to communicate.
Thanks
# 2  
Old 10-06-2012
Well, what is the ftp client you are using? Have you opened ftp related ports on firewall i.e iptables?

Accessing your FTP server from Internet can be done of course. You have to enable NAT in your router and for that you have to consult your router's manual.
This User Gave Thanks to admin_xor For This Post:
# 3  
Old 10-08-2012
I am using Suse Linux 11 and these are my settings:

Code:
write_enable=YES # enable any form of FTP write command

local_enable=YES # if you want local users to use FTP

local_umask=000 # not a very secure setting, but you can use 022

chroot_local_user=YES #I jailed local users to their home directories so they dont go about messing files

chroot_list_enable=YES #if this is YES, then u need the chroot list file

chroot_list_file=/etc/vsftpd.chroot_list #put all your local users that you'd want to be able to use FTP here

and you disable all anonymous login, downloads,uploads

anonymous_enable=NO
#anon_world_readable_only=YES
#anon_upload_enable=YES
#anon_umask=022
#anon_mkdir_write_enable=YES
#anon_other_write_enable=YES
#chown_uploads=YES
#chown_username=whoever


I log my FTP activity separately from syslog, so it goes to two different log files

log_ftp_protocol=YES #Uncomment this to log all FTP requests and responses.

xferlog_enable=YES #Activate logging of uploads/downloads

vsftpd_log_file=/var/log/vsftpd.log 

xferlog_file=/var/log/xferlog

dual_log_enable=YES

idle_session_timeout=21600      #these are custom settings because the customer wanted it that way
data_connection_timeout=86400 #these are custom settings because the customer wanted it that way

ascii_upload_enable=YES     #ASCII mode file transfer
ascii_download_enable=YES  #ASCII mode file transfer

hope this helps
This User Gave Thanks to hedkandi For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Why is sftp working but ftp not

I am not very familiar with the use of FTP, and trying to run it I found out that standard "ftp" is not working" but "sftp" is. If sftp is allowed will that block ftp ? and if so where is this set ? I thought there is no relationship, is that right ? If so look here: inetadm | grep ftp enabled... (11 Replies)
Discussion started by: manni2
11 Replies

2. Solaris

FTP not working Solaris 10

Hi All, I have a problem with FTP service on Solaris 10. Whenever I try to FTP to one machine locally (ftp localhost) or from other machine I don't get any response, I see the ftp service on the machine is online and listening to port 21 but ftp is not responding. Also it seems i can't... (16 Replies)
Discussion started by: belal84
16 Replies

3. Shell Programming and Scripting

Script not working after FTP

Hi Gurus, I prepared a script to process some files and then ftp the output file to mainframe directory. Here is the code snippet for the same. # Perform FTP echo "put $TGT_DR/$K.$F.$I.$K1.$RUN_TYPE '$K.$F.$I.$K1.$RUN_TYPE'" >> $LogFile ftp -i -n <<EOF >> $LogFile open... (2 Replies)
Discussion started by: svajhala
2 Replies

4. Solaris

All i/o (ftp) not working on this SunOS 5.10

Hi everyone: I have been trying to simply FTP a file over to this SunOS 5.10 (which is same as Solaris 10 now) and nothing works! I can only Telnet to this via SSH (with my own account/uid), and I can also send simple mail out with mailx, that's all!!! I cannot FTP to it (I think FTP... (7 Replies)
Discussion started by: steve701
7 Replies

5. Linux

FTP not working under Linux but working under any other OS ??? Very strange

Dear all, I am totally despaired and puzzled. Using Filezilla under Windows under the same network as our Linux servers is working. Using FTP command-line client under any of our Linux debian servers is not working ! I tried with different FTP servers -> same problem ! All commands are... (12 Replies)
Discussion started by: magix_ch
12 Replies

6. UNIX for Dummies Questions & Answers

FTP not working, need some help

I am trying to set up an account for a user on our network to ftp into and access his folder for his web site. I have been tossed into the previous web hosting server without really knowing much about how it has or is set up, but I've been following most of the tutorials I have seen around the... (0 Replies)
Discussion started by: nlraley
0 Replies

7. Web Development

is wget working in ftp ?

I get ftp> wget ?Invalid command. ftp> 0 * * * * wget -O - -q -t 1 http://www.example.com/cron.php ?Invalid command. thanks (6 Replies)
Discussion started by: aneuryzma
6 Replies

8. Shell Programming and Scripting

why the mv is not working in an FTP

Why when I mv $UpLoadFileName supfinaid.DSB does not work, it is getting the $UpLoadFileName and it is moving it to the right location, but not the move, Let me know if you want to see the all script, I just want to rename $UpLoadFileName, it is moving $UpLoadFileName to the right... (6 Replies)
Discussion started by: rechever
6 Replies

9. AIX

FTP is not working

Upto last month my script was working fine, Now I am getting following error, any one help me? Tcl_Init failed: Can't find a usable init.tcl in the following directories: /usr/local/lib/tcl8.0 ./lib/tcl8.0 ./tcl8.0/library ./library This probably means that Tcl wasn't installed... (0 Replies)
Discussion started by: redlotus72
0 Replies

10. Cybersecurity

FTP is not working.

Hi, I'm getting the following error while trying to use the ftp command. ---------------- 331 Password required for prodofsa. Password: 230 User prodofsa logged in. ftp> ftp> ftp> ftp> ls 200 PORT command successful. 425 Can't build data connection: Connection timed out. ftp>... (10 Replies)
Discussion started by: ronald_brayan
10 Replies
Login or Register to Ask a Question