Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Lion seems to have removed FTP as an option for "Share Files" in the Sharing pane, this means I can't connect to it using a robust client like FileZilla. I have several thousand files that need to be moved. In the past I've done this by whipping up filezilla, connecting to the Mac, and transferring. This allowed me to retry individual files that fail, which is inevitable with such a large batch.

Do I have to install an FTP server now? It seems like there has to be a more direct way. Is the FTP option just hidden away? Is there some new, better way of doing it?

share|improve this question
Your question title says "copy from win to OSX", but the question seems to say the opposite. Am I confused? – horatio Aug 30 '11 at 19:08
I don't think I contradict myself -- where do you mean? – slifty Aug 30 '11 at 19:20
if you are putting an ftp server on your OSX machine, you would be copying from OSX to windows. Also, you talk about setting up a share in the context of the OSX user interface. – horatio Aug 30 '11 at 19:24
Ahh -- FTP is a two way street. You can upload to a server or download from a server. By enabling FTP on OSX you made it act as a server, and you could put files on and copy files off. I don't care if I push to OSX from win 7 or if I pull from win7 on OSX, either way the files get moved from the PC to OSX. (also the ideal solution would support both directions as well) – slifty Aug 30 '11 at 19:33
I understand, thanks. Knowing OSX' roots in unix-like OS, I'd expect the ftp server to be built-in and configurable from terminal at the very least. (edit: it is AFAICT… ) – horatio Aug 30 '11 at 19:34
up vote 4 down vote accepted

I would compress all of your files into one large archive file with something like 7zip or Rar and then just transfer one large file. Make sure the compression program you choose is cross platform.

share|improve this answer
It's even possible to tar cz on on machine, pipe the output across an ssh connection, and tar xz on the other machine. No wasted disk space, and very efficient in my experience; given that transfers of tons of small files are rather slow. – Daniel Beck Aug 30 '11 at 18:02

If you have a USB external drive (so long as it's not NTFS formatted), that'd be another approach.

share|improve this answer
Indeed! I don't have one handy but that's a nice KISS solution. – slifty Aug 30 '11 at 19:02

Last time I needed to do this, I installed Cygwin on windows and turned on "Remote Login" (ssh) on OS X. Then I could scp the files from the PC to the Mac (or pull from the Mac to the PC).

share|improve this answer
What's a good source for cygwin? – Rolnik Aug 30 '11 at 16:52
Thanks for the suggestion! I have Cygwin already installed so I may try that. However, this seems a bit like hitting a hammer with a bulldozer... I'd be more comfortable just installing an FTP server on either the mac or the PC over something as major/invasive/whatever you want to call it as Cygwin. Then again maybe I have a skewed perception of Cygwin. – slifty Aug 30 '11 at 16:55
Use a GUI SCP client that won't require any Cygwin installation/usage. I personally use the portableapps version of WinSCP, but I'm sure there are other free SCP clients available as well. – Matrix Mole Aug 30 '11 at 17:01
@slifty This was my work computer that came with Cygwin - I second Matrix Mole's suggestion of a GUI client. – CajunLuke Aug 30 '11 at 19:40
  1. Use 7zip and compress all of the files into one archive
  2. Download an SFTP program for Windows(such as WinSCP )
  3. Turn on "Remote Login" on OSX
  4. Connect to your Mac box from Windows using the SFTP program.
  5. Transfer archive
  6. Profit!
share|improve this answer

I would set up a share on the windows machine. Connect to that (SMB) with the mac. Now use rsync to do the actual transfer, using the mount point on the mac:

rsync -avP /Volumes/ShareName/* ~/Destination/

This way, if your SMB connection flakes out you can just rerun the rsync command to pick up where you left off.

share|improve this answer

Can you just make a share in Windows and pull those files from Lion side by samba connection?

Edit: OK, I got the info samba connection to Windows is not considered "reliable".

Now that there is already cygwin installed on Windows, the best way is to do this in cygwin:

tar cf - ./* | ssh someone@lion tar -C /destination/ -f - -x

This will save a lot of overhead compared to individual files being transferred over scp.

share|improve this answer
OS X has always been rather flaky with its SMB support in my experience. There's a reason there are tons of troubleshooting questions related to it on this site. – Daniel Beck Aug 30 '11 at 17:55
Yeah thanks for the suggestion -- I've found the native share to fail with large jobs (and when that happens I don't know what files made it). I'm trying to avoid a cygwin-based solution since I personally think cygwin is overkill for this specific problem, but good to know! – slifty Aug 30 '11 at 19:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .