5

I'm a web-developer, I'm using win7, but now I want to try ubuntu, I want to ask if is on the ubuntu any software which automatically upload the folder content to the server. For example if I save a file that automatically upload to the server through ftp. On the windows I'm using Fling Is there any alternative on ubuntu?

3 Answers 3

4

There are so many ways to do this :-)

1 of them I have seen used at my office is ftp-upload Install ftp-upload.

enter image description here

Basically you set up a script and let cron do all the hard work.

Advantage of this is that it works with any program you code with: all it requires is that you save it in the location the ftp-upload script is checking for files.

We use PCs to edit files, save them on our own server so we can check our internal webserver (basically it's the Nautilus mounting method you approved) and update our remote webserver with this script at 18:00.

3

The file manager that comes with Ubuntu, which is called Nautilus, lets you mount a FTP server folder as a Drive. You can then modify the files just as if they were on your computer and as soon as you save them the server copy is updated. (I've never used Fling, but this sounds just like it.) I've used it before with SFTP (basically a secure version of FTP) and it works great for web development.
To do this, just open the file browser and go to the "File" menu and click "Connect to server...". In the window that comes up pick "FTP (with login)" as the services type, enter your details (username, password, server), and click Connect. (If you check Add bookmark and enter a name for it, this server will show in the sidebar of the File Browser so you just click it to connect to the server even after a reboot.)

Screenshot showing steps for FTP in nautilus

3
  • Unfortunatly some programs have problems saving to or opening from GVFS mounts.
    – dAnjou
    Jun 20, 2011 at 18:20
  • This would be my favourite method too but it does not always work.
    – Rinzwind
    Jun 20, 2011 at 18:21
  • SASS compilers don't want to work with this and regular FTP account.
    – HelpNeeder
    Feb 4, 2016 at 1:29
2

You can use curlftpfs. Just mount your FTP directories somewhere in .. maybe ~/Projects/ and start working on these files.

You must log in to answer this question.

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