Skip to main content
Home Forums FTP problems? — #2 FTP problems? — #2
Post #2 by Camelot
Source ForumFTP problems? — #2
CategoryPowerPC
Post DateSun, 1 Sep 2002 - 22:33
Original URLhttps://web.archive.org/web/20050522191120/https://forums.macnn.com/showthread.php?t=121651
Post
I'm not entirely clear from your description where you are and where you want to go to. I see three locations (home, work, and school) and one destination (work). I'm not sure of the relevance of your school blocking ftp to your apartment...

Anyway, it seems to me that your problem is what kind of access is supported to the destination (work) servers. Do the 'work' servers support ftp? and does your school block outgoing ftp?

In that case, your solution may be to setup port forwarding using a ssh tunnel through your home system.

First, enable ssh login on your home computer.

On your school computer run:

ssh -L 21:host.work.dom:21 user@home.computer.dom

This will setup a SSH tunnel to your home computer (home.computer.dom) such that anything you send to port 21 on your current (school) computer will be tunneled via SSH to home.computer.dom which will then forward the traffic to port 21 on host.work.dom

Then, in GoLive, open an ftp connection to localhost. If all goes well, this should relay through the ssh tunnel to the work computer.

Make sure you check your ftp 'passive' connection settings (System Preferences -> Network -> Proxies -> Use Passive FTP Mode). You need to use passive FTP when using SSH port forwarding.

Since the above example binds to port 21 on the school's computer, you'll need root privileges. If you don't have root privs on the school computer, you can use any high-numbered port and just have GoLive connect to that port number (for example, if you setup your tunnel to connect local port 2121 to the tunnel, have GoLive connect to localhost:2121)
mp.ls