I've been meanings to write myself a php script that will open a remote file, display it in a text box, and then ftp it back over when I'm done with it. Better yet, it'd edit a local copy of the file and just put the new version onto the remote server - save me opening two ftp sessions per edit. Haven't written it yet, but it shouldn't take too long to do so.
Daniel > Hey all, > > When you're forced by circumstance to work with a web site which only has > FTP access (no ssh or anything friendly) what do you typically work with? > Right now I've got gftp open, I download a file, edit it locally with vim, > save and upload again. Unfortunately, this seems terribly klugey. (it > takes a long time switching back and forth, sometimes I forget to upload a > file before I refresh the web browser, etc. etc.) There's got to be a > better way. > > I've heard rumours that you can edit files remotely using vim, but > :e ftp://someserver/path/to/file.php > > just sits there for a minute and then opens a blank file. > > > So what do /you/ guys do when stuck in such a terrible position? > > ~ ross > > > ____________________ > BYU Unix Users Group > http://uug.byu.edu/ > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list > ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
