Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Newbie FTP question

  • 04-08-2005 02:08PM
    #1
    Closed Accounts Posts: 1,114 ✭✭✭


    Hi,

    I need to ftp files. However, i have to go through a FTP proxy so basicly this is what i do

    I connect to the proxy and then I have to user@ftp.xxx.xxx
    however, I need to mput a directory and am told that ncftp can do this however one I get connected to the proxy I can't figure out how to connect to the ftp.

    Anyone know how to do this? please bear in mind I am a total newbie.

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 16,287 ✭✭✭✭ntlbell


    It's been awhile, but the best thing to do is first tell ncftp about the proxy server.

    in ~/.ncftp/firewall

    firewall-type=4
    firewall-host=proxy.example.com (Change to ip of proxy server)
    firewall-port=8080 (8080 is an example change this to whatever port it uses)
    firewall-user=ntlbell (Change to user)
    firewall-password=password (Change to password)

    then just connect to the ftp server as normal

    ncftp -u blah -p blah ftp.example.com

    you might check to the man pages to make sure that's right.


  • Closed Accounts Posts: 1,114 ✭✭✭Kappar


    thanks for that.

    Would you believe all I had to do was turn passive on!!!

    One more problem now.

    I am trying to upload a load of directories with jpg files in them i am using
    mput -r *
    this uploads all the files but doesn't keep the directory structure it just sends all the files to the same directory.

    Can anyone help with this?

    thanks


Advertisement