Sponsored Content
Special Forums IP Networking Enable PWD command on anonymous FTP? Post 302073250 by HiredGun79 on Thursday 11th of May 2006 09:18:29 AM
Old 05-11-2006
More Information

Hello and thanks for the reply.

The server is running some sort of Sun flavor of Unix. (best I can tell). The ftp clients I have tried have been the built in FTP in Dreamweaver 2004 MX and FileZilla. Both connect to the server ok, then when they try to print the current directory (pwd) the get a 550 error message and after seeing the error message, they both disconnect before I can actually do anything on the server.

CuteFTP and Dreamweaver 4 connect fine. I discovered that Dreamweaver 4 still performs the pwd command, but when it encounters the error, it ignores it rather than disconnect.

I have also used the DOS command line ftp client. I can connect ok using that and when I try to use pwd I cannot.

Here's the directory structure. I can connect to / and /foo_1/ with no problem and pwd works in those directories. The folder I need to connect to is /foo_1/foo_2/foo_3/

when I change directory into foo_1 and foo_2 I do not have access to use any command, not even ls. And when I get to the folder I need, foo_3, I can use nearly all ftp commands but pwd. PWD kicks up the 550 error.

Unfortunately, I cannot give you guys the FTP info.

What I do have is the ear of an unsympathetic IT guy who DOES have permission to copy files around, change permissions, etc.

When I asked him to let me use PWD, he said that he would have to give my group readable permission and that would break security. I do connect anonymously.

So this guy is not willing to find a work around which is why I'm here.

I either need:

A) The proper way to get pwd to work without compromising security, without making my group readable.

B) What I need to do to get my binary in the right place to "act" like the pwd command. . A simply "hello world" binary should be able to run without read access.

C) Any other solution, hopefully on the server side - while I could use a different FTP client, we have customers who we transfer files to on this box, and we don't want to have to give them esoteric directions to get their favorite ftp client to work.

Also, I did find a thread in devshed forums written by one of the admins in this forum, Perderabo, where he said that "pwd can't work in it's pure form if there are folders between the root folder and the target folder" I think that's the bottom issue - I know there has to be a proper work around on the server side. It seems to me like the IT guy who runs the server doesn't mean to disable PWD, it's just that it's a side effect of security.

Ok, done rambling - let me know if you all need more information!

Thanks again!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Anonymous FTP Server

How do I set up and Anonymous FTP Server on Unix FreeBSD v4.3? Also, how do I set up my account to get root access when I am logged onto my server through ftp? Thanx in advanced. (6 Replies)
Discussion started by: ByondF1
6 Replies

2. UNIX for Dummies Questions & Answers

Disable anonymous ftp????

How do i disable anonymous ftp on a unix system?????? Please help!!!!!!!1 (2 Replies)
Discussion started by: rrivas
2 Replies

3. UNIX for Dummies Questions & Answers

Enable FTP on SCO

My goal is to use FTP to transfer file between PC and SCO Unix server.When I try to connect via FTP with root user, it failed. What should I do? How to configure ftpaccess? Thanks in advance! (2 Replies)
Discussion started by: Vladan
2 Replies

4. Linux

ftp telnet enable

hi , i have jsut installed linux 9.0 , but i can not ftp or telnet to the system . i have installed the ftp and the telnet server during installation . i have also configured the files to enable the ftp and telnet , the ftp and the telnet daemons are running , but when i do ftp : ftp... (1 Reply)
Discussion started by: ppass
1 Replies

5. IP Networking

ftp dir and pwd commands

Hi, I have a conenction to remote server that I'm sending files too via FTP. The problem I have is that when the file gets delivered it is 0 (zero) size. I've manually connected and logged on. The only command I can successfully execute is pwd. When I do a dir or a put command it will... (7 Replies)
Discussion started by: nhatch
7 Replies

6. Cybersecurity

anonymous ftp attack?

For the last week or so every day for about 6 to 10 hours someone is logging in and out continuously to our anonymous ftp. They don't stay logged in. It seems like it must be an automatic process aimed at tying up our anonymous ftp. The ID of the server doing this is can59-4-82-240-1. As a result... (2 Replies)
Discussion started by: dennisheazle
2 Replies

7. UNIX for Dummies Questions & Answers

How to block an anonymous ftp user?

Could anyone provide information on how to block a specific client machine from being able to log onto anonymous ftp? (10 Replies)
Discussion started by: dennisheazle
10 Replies

8. Solaris

How to change pwd during logging on ftp server?

Dear All, Could I change password while login in to ftp server(solaris 10)? I tried to use fileZilla and command prompt(window) to change my password but It can't. Do you have any suggestion ? Ps. I can't telnet and ssh to the server because of poicy for ftpuser. Thank in advance (3 Replies)
Discussion started by: unitipon
3 Replies

9. HP-UX

Enable ftp port

Hi Experts, Need your help in enabling the ftp port in HP-UX box. Is there any command/config file that needs to be changed? Also is it possible to open it only for few selected IPs only? (9 Replies)
Discussion started by: sai_2507
9 Replies

10. Shell Programming and Scripting

Anonymous ftp log?

Hello, I was wanting to know if there is any log/tracker for anonymous ftp activity for users that are logging in to our server. We migrated over to a new server and cleaning up some loose ends on the old server. We noticed that some files are being loaded on the old server via anonymous ftp.... (1 Reply)
Discussion started by: shorty
1 Replies
pwd(3tcl)						       Tcl Built-In Commands							 pwd(3tcl)

__________________________________________________________________________________________________________________________________________________

NAME
pwd - Return the absolute path of the current working directory SYNOPSIS
pwd _________________________________________________________________ DESCRIPTION
Returns the absolute path name of the current working directory. EXAMPLE
Sometimes it is useful to change to a known directory when running some external command using exec, but it is important to keep the appli- cation usually running in the directory that it was started in (unless the user specifies otherwise) since that minimizes user confusion. The way to do this is to save the current directory while the external command is being run: set tarFile [file normalize somefile.tar] set savedDir [pwd] cd /tmp exec tar -xf $tarFile cd $savedDir SEE ALSO
file(3tcl), cd(3tcl), glob(3tcl), filename(3tcl) KEYWORDS
working directory Tcl pwd(3tcl)
All times are GMT -4. The time now is 08:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy