Sponsored Content
Special Forums IP Networking Enable PWD command on anonymous FTP? Post 302073331 by jim mcnamara on Thursday 11th of May 2006 10:34:24 PM
Old 05-11-2006
If you cd to a bad or unavailable directory, ftp generates an error.
Older versions of ftp clients don't need to "show pwd" when they connect.

So, I must be getting too old, but I fail see why you can't use a version that does not care about pwd, unless you are trying to get files whose names and locations you don't know. Your code should not care about pwd.

And, if the system in question is an IT sox box, why don't you run rsync under ssh? If the box is the mastewr, there is no violation. You connect, rsync moves/updates all of the files/directories. You don't need to know anything on your side.
 

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.h(3HEAD)							      Headers							      pwd.h(3HEAD)

NAME
pwd.h, pwd - password structure SYNOPSIS
#include <pwd.h> DESCRIPTION
The <pwd.h> header provides a definition for struct passwd, which includes the following members: char *pw_name user's login name uid_t pw_uid numerical user ID gid_t pw_gid numerical group ID char *pw_dir initial working di rectory char *pw_shell program to use as shell The gid_t and uid_t types are defined as described in <sys/types.h>. See types.h(3HEAD). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
getpwnam(3C), types.h(3HEAD), attributes(5), standards(5) SunOS 5.11 10 Sep 2004 pwd.h(3HEAD)
All times are GMT -4. The time now is 10:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy