Find the answer to your Linux question:
Results 1 to 9 of 9
Hi, I am getting the follwoing error message when i am trying to ftp a file. Kinldy help me to solve the issues. C:\Documents and Settings5078>ftp 10.230.44.31 Connected to 10.230.44.31. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    3

    Unable to ftp from windows to linux FC4


    Hi,
    I am getting the follwoing error message when i am trying to ftp a file.
    Kinldy help me to solve the issues.

    C:\Documents and Settings\125078>ftp 10.230.44.31
    Connected to 10.230.44.31.
    220 (vsFTPd 2.0.3)
    User (10.230.44.31none)): vidhya
    331 Please specify the password.
    Password:
    230 Login successful.
    ftp> mput ../../vidhya/login.txt .
    mput ../../vidhya/login.txt? y
    200 PORT command successful. Consider using PASV.
    553 Could not create file.
    ftp>

  2. #2
    Just Joined! deepakna's Avatar
    Join Date
    Feb 2007
    Location
    Bangalore
    Posts
    5

    ftp access

    Hi There,

    Command line access me be problematic, because it is designed for an ftp client, (a GUI)
    Do let us know the contents on /etc/hosts.allow and /etc/hosts.deny, do make them accept ftp.
    You could check the permissions on the folders you are trying to access, set them to 775 and check,
    As windows defaults to active FTP & Linux defaults to passive, you'll probably have to accommodate both forms when deciding upon a security policy for your FTP server.

    Do let the forum know, if this worked or did not work.

    -Deepak

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    3

    contents in the file.

    There are no contents in both the files /etc/hosts.allow and /etc/hosts.deny.
    I have given the permissions 775 but it is giving the same problem.
    I was trying to change the content of the file using EditPlus but i am facing the same issue there.
    Expecting a favourable reply.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Jan 2007
    Location
    Cupertino, CA
    Posts
    157
    Are you sure you want to send a file from the windows box to the linux box. Because thats what mput will try to do. Me thinks you actually want to get a file from the linux box. In which case, use get or mget.

  6. #5
    Just Joined!
    Join Date
    Feb 2007
    Posts
    3
    I want to send a file from windows to linux.

  7. #6
    Just Joined! deepakna's Avatar
    Join Date
    Feb 2007
    Location
    Bangalore
    Posts
    5

    Could you try any other file

    Hello,

    Could you please try ftp on a new file, and if you could do sent the vsftpd file, will check. FTP should not be such a problem

    -Deepak

  8. #7
    Linux Newbie
    Join Date
    Jan 2007
    Location
    Cupertino, CA
    Posts
    157
    Your 'mput' command is wrong!
    You are specifying mput ../../vidhya/login.txt. This will try create a file called ../../x/y in the home dir of the user logged in. Which means you are trying to create a file path of /home/user/../../vidhya/login.txt. You obviously dont have permissions to write into / which is what this will try to do.

    Simply do:

    put ../../vidhya/login.txt login.txt. This will create a file called login.txt int the current directory (which is = home dir of the user you logged in as) and put the source file there.

  9. #8
    Linux Newbie PureGrain's Avatar
    Join Date
    Nov 2006
    Location
    Mt. Washington, Kentucky
    Posts
    154
    Can you not use winscp to transfer files to your linux box?
    LINUX - "The other white meat.."
    Registered Linux User #439112

  10. #9
    Linux User
    Join Date
    Aug 2006
    Location
    Croydon, PA
    Posts
    392
    NIKUNJB is correct you don't use mput on single files.
    Next you may need to put it in passive mode, so once you login correctly type pas then transfer the file or cd to a directory.
    Good Luck,
    Ski
    RHCT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •