[Geany-Users] Hi! New to Geany. How does one ftp to production?

Colin colin at xxxxx
Sat Jul 20 22:27:46 UTC 2013

Hi Matthew,

Thanks very much for the note.

Sounds reasonable.  Thanks! 

Although windows already has a file manager stub in it for use by editors.
And a person may want to edit iteratively, most web programming, especially
php is done that way nowadays.  All that building and etc... when easy file
management and even ftp is a native function in windows, could be a bit

I'm coming around to think that Geany as a text editor is fine, but as a
code editor it may leave a bit to be desired.  Maybe not quite ready for
prime time, out of the box.  Would need us to help it, edit it up a bit.

That's no slight to Geany.  And that doesn't mean we couldn't write our own
version of Geany using some kind of plugin hooked to it. Just means that for
web languages that require lots of iterative development it may not be quite
ready to be used.  There seem to be some holes.

Most mobile programmers, programmers that move around, may not always have
the best connection, so mounting a remote server directory may not always be
a viable option. Thus needing ftp to upload files on a case by case basis.

If I was using a compilable language with a build or a make then it might be

But alas we're not.  

Thanks again, like I said just a few show stoppers missing before we could
recommend it to our group of web developers.

I'm going to remove us from the list as we continue our search, thanks again
for the help!

And we'll look forward to seeing Geany again maybe later on.  For now it
just seems to have 3 or 4 show stoppers for web development.



-----Original Message-----
From: users-bounces at lists.geany.org [mailto:users-bounces at lists.geany.org]
On Behalf Of Matthew Brush
Sent: Saturday, July 20, 2013 2:21 PM
To: users at lists.geany.org
Subject: Re: [Geany-Users] Hi! New to Geany. How does one ftp to production?

On 13-07-20 07:24 AM, Colin wrote:
> Hi!  New and really want to like Geany. =)
> We have a php production system, where we develop in a local dev 
> directory, then move to a local test directory and if it passes test, 
> then move those files to out to the web to production/out for use by our
user base.
> We have a full on packaging and push system that we use for full 
> releases to the web, but developers do a lot of small releases as well
along the way.
> Any suggestions on how to do ftp directly from Geany after the files 
> have been tested?
> This seems like a really easy thing.  Any help?  Thoughts?  What does 
> everyone do?
> Note: We haven't yet found away to actually copy a file to test yet in 
> Geany.  But a local ftp and an external would work just as well as a 
> copy to the test directory.  Seems like a nig hole for any web developer
using this.
> =)  Recommendations much appreciated.

Here's what I would do...

1. Write a little shell/php-cli/whatever script to copy the files from dev
directory to test directory (and optionally launch the site in your
web-browser to actually see the results).

2. Setup a build command called "Test" and configure it to run your script
from step 1.

3. Use the keybindings or menu or toolbar items to run the build command
from step 2, which will copy your files to the correct place (and optionally
launching the site in your browser).

4. Repeat 1-3, but instead creating a "Deploy" command that copies the files
to the remote production file system.

Assuming your using any reasonable operating system (including Win32 even),
you can mount a remote directory as a local file system, so the little
script to copy files around would be trivial.

Matthew Brush
Users mailing list
Users at lists.geany.org

More information about the Users mailing list