Sponsored Content
Operating Systems Linux Setting up FTP service +on Fedora 9 Post 302249149 by c00kie88 on Monday 20th of October 2008 06:59:27 PM
Old 10-20-2008
Setting up FTP service +on Fedora 9

Hi all,

I set up FTP service at my linuxAbox.

Everything is good.

When i did FTP from my LinuxB box , it authenticated just fine.

The problem is:

1. I can't list the directory
2. when i use ls command to list the directory, it showed:

227 Entering passive mode (192,168,0,34,211,89)
150 Here comes the directory listing
226 Transfer done (but failed to open directory)

So i can't transfer file.

Any idea why? Do i need to set up specific user or specific folder to access FTP?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ftp: ftp/tcp: unknown service

Hello, when I type ftp on the server (Sco Unix 5.0.4) it gives an error messages which is "ftp: ftp/tcp: unknown service" but I have this service in '/etc/services' file. Also when I want to telnet from another machine to this machine is gives also 'telnet: tcp/telnet: unknown service' this... (2 Replies)
Discussion started by: alisevA3
2 Replies

2. UNIX for Dummies Questions & Answers

I cannot FTP onto my Fedora Core 3 server!

Hiya all, I cannot FTP onto my Fedora Core 3 server! Installed with Std Settings (Firewall on, FTP, SHH etc enabled...) My error is: FTP ****** 220 localhost.localdomain FTP server (Version 5.60) ready. User: martin 530 Must perform authentication before identifying USER. ... (3 Replies)
Discussion started by: marty 600
3 Replies

3. UNIX for Advanced & Expert Users

I can't fire up MySql on my Fedora Server - Obvious config setting?

Hiya All, I can't fire up MySql on my FC-3 Server at work. I get the Error message at the end of this post. Looks like some Config problem on the Server itself. (Ie web server and MYSQL is all on the same box. I get the same errror when trying to fire up MYSQL at the Box, as well as... (2 Replies)
Discussion started by: marty 600
2 Replies

4. Linux

Setting up SSH on Fedora Linux

Hello, I have Fedora Linux core 3.0 installed on my computer and I want to let it allow SSH or Telnet connections so that I can access my files when I'm not home. Who can help me with doing that? Thank you, (3 Replies)
Discussion started by: HSN
3 Replies

5. Solaris

how to setting ftp

Dear expert, I have problem when try ftp to my unix box (solaris 10). I was setting /etc/default/login file for enable remote access. enabling service for ftp and in /etc/ftpd/ftpusers thereis exist root. but can not using root for ftp (message : 530 login incorrect) but with using... (4 Replies)
Discussion started by: heru_90
4 Replies

6. UNIX for Dummies Questions & Answers

FTP service..please help me

could you please guys and gals to educate me about the ftp...implementation and how to use it on BSD? thanks a lot (2 Replies)
Discussion started by: lipbalm
2 Replies

7. Red Hat

Help with csh env setting in Fedora 8

Hi there, How can I change bash to csh when starting a terminal, and set some aliases for csh? I can't find such files like .cshrc in my home directory. Thanks a lot (1 Reply)
Discussion started by: dustinwang2003
1 Replies

8. Shell Programming and Scripting

ftp: Name or service not known

Hi All, I'm a new user. When I try to use ftp in a script, its throwing the below error "ftp: Name or service not known". what could be the issue??? Pls help.;) (9 Replies)
Discussion started by: Naga06
9 Replies

9. UNIX for Dummies Questions & Answers

FTP service/ set up

Hi Everybody, How can I understand when I login to any unix server that this server is having ftp service running? what I care is that I want to ftp something to this server and I can't, something like connection refuse. is there any ways to understand if the ftp is setup? and if not, how to set... (2 Replies)
Discussion started by: messi777
2 Replies
FTP_CHDIR(3)								 1							      FTP_CHDIR(3)

ftp_chdir - Changes the current directory on a FTP server

SYNOPSIS
bool ftp_chdir (resource $ftp_stream, string $directory) DESCRIPTION
Changes the current directory to the specified one. PARAMETERS
o $ftp_stream - The link identifier of the FTP connection. o $directory - The target directory. RETURN VALUES
Returns TRUE on success or FALSE on failure. If changing directory fails, PHP will also throw a warning. EXAMPLES
Example #1 ftp_chdir(3) example <?php // set up basic connection $conn_id = ftp_connect($ftp_server); // login with username and password $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); // check connection if ((!$conn_id) || (!$login_result)) { die("FTP connection has failed !"); } echo "Current directory: " . ftp_pwd($conn_id) . " "; // try to change the directory to somedir if (ftp_chdir($conn_id, "somedir")) { echo "Current directory is now: " . ftp_pwd($conn_id) . " "; } else { echo "Couldn't change directory "; } // close the connection ftp_close($conn_id); ?> SEE ALSO
ftp_cdup(3), ftp_pwd(3). PHP Documentation Group FTP_CHDIR(3)
All times are GMT -4. The time now is 08:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy