Aug 27

Simple FTP app using Flex and Rails

Tag: Flex and RailsDerek Wischusen @ 9:05 pm

Here is a simple app that I put together to demonstrate an integration between Flex and Ruby’s File and Directory utilities. It is not, by any means, meant to be a full FTP application (though I suppose it could, with some work, serve as the foundation for one).

Here is what you can do with it:

  • Create a new account or log into an existing account.
  • Create new subfolders in your account.
  • Upload .txt or .jpg files. Up to 1MB per account (look out Box.net).
  • Download files.
  • Delete files or folders.
  • Move files or folders by dragging them from the right panel dropping them on directory tree.

That’s about it.

Please consider this to be an alpha realease, as I am sure there will be bugs. If you do encounter a bug that you would like to report, please send an email to: bugs at flexonrails dot net

Finally, here is the link to the app: http://www.flexonrails.net/flexftp/public/

I will release the source as soon as I’ve had a chance to fix all the bugs and clean up the code a bit.

Credits:

[UPDATE 04/22/2007]

Ok, I never did get around to cleaning up the code for this app so the code is still in pretty rough shape, but a couple of people asked for the source recently, so I’ve decided to release the source as is in the hopes that at least some small parts of it will be useful to someone.

Download Source Here

9 Responses to “Simple FTP app using Flex and Rails”

  1. Campbell says:

    Damn! nice!

  2. Riley says:

    What is the username and password to test the application?

    [A new account is automatically generated when you enter an unique username]

  3. sam says:

    the application is damn good, i need this code if possible pl send me to my id….

    thanks in advance,
    Sam

  4. Farid says:

    Hi, i need to integrate ftp into an apollo flex app thatt i am building. if posible could you send me the code or let me know when its available.

    many thanks

    Farid

  5. Derek Wischusen says:

    @sam & Farid – I’ve added updated this post to include a link the source files.

    Derek

  6. d t says:

    Hi,
    I just wanted to know whether you are
    using the FTP protocol or giving the user
    FTP like functionality. Since I went through
    your code and couldn’t find where are you
    establishing the ftp connection.

  7. Hadi says:

    Hi,
    I’m a newbie in Flex, I’m using this application to access some files which are under linux ftp service.

    I imported this project and i dono why, but it doesn’t even login. the error is this;

    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: file:///C:/Documents and Settings/Administrator/My Documents/Flex Builder 3/FlexFTP/bin/users/findUser?userName="]. URL: users/findUser”]
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:220]
    at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:53]
    at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]
    at DirectHTTPMessageResponder/errorHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:362]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/redirectEvent()

    may i get help on this please?

  8. Richard Navarrete says:

    @d t
    Yep, it’s using HTTP.

  9. How to Upload Files in Flex FTP - Ntt.cc says:

Leave a Reply

Viagra online shop
Cialis 20 mg dosage
10mg prednisone
Best price tramadol
Viagra in the philippines
Generic viagra online without prescription
Cialis prices uk
Low cost levitra
Buy cialis brand
Prescriptions for phentermine
Buy cheap viagra online uk
Viagra in the uk
Overnight tramadol no prescription
Viagra to buy
Buy generic propecia uk
Buy levitra
Viagra in usa
Cialis 10mg side effects
Drug phentermine
Cialis soft tabs online
Buy cialis uk
Prednisone online
Canada viagra no prescription
Propecia 1mg generic
Pfizer viagra price
Propecia cheap
Propecia price australia
Prescription viagra canada
Where can i buy cialis without a prescription
Viagra indian pharmacy
Where can i buy viagra in the uk
Generic levitra uk
Prescription free viagra
Buy valium europe
Cialis order canada
Best way to buy viagra online
Viagra ordering
Viagra canada mastercard
Propecia online uk
2mg xanax no prescription
Buy cheap valium online
Xanax 1mg
Valium generic
Order xanax cod
Online prescriptions xanax
Phentermine online free shipping
Buy phentermine no script
Buy viagra online cheap
Purchase levitra online
Levitra purchase
Purchase tramadol online
2.5mg cialis
Levitra online
Prednisone 20mg side effects
Viagra fast delivery
Canada pharmacy valium
Fedex tramadol
Brand name cialis
Cialis discount price
Free samples of cialis
Buy generic xanax no prescription
Buy tramadol hcl
How to buy valium without a prescription
Where to buy cialis safely
Propecia generic online
Cialis uk sales
Generic viagra sales
Tramadol without prescription overnight delivery
Levitra online buy
Get viagra
Cheapest cialis price
Valium from india
Buying viagra online
Levitra canada
Phentermine 37.5 wholesale
Buy valium without prescription uk
Where to buy levitra online
Valium without prescription
Generic xanax
Xanax no prescription required
Levitra samples
Viagra pills for sale
Viagra 50 mg online without prescription
Buy generic cialis online
Viagra canadian online pharmacy
Best viagra alternative
Cheap generic valium
Generic viagra 100mg
Cheap cialis soft tabs
Viagra online uk
Buy generic valium
Where to buy cialis online
Buy xanax 2mg no prescription
Xanax 1 mg dose
Levitra 20mg
Viagra online cheap
Xanax bars effects
Buying cialis
Cheap viagra online without prescription
Viagra without prescription uk
Buy tramadol overnight
Phentermine 37.5 buy online
Buy viagra in canada online
Buying levitra without prescription
Cheap 37 5 phentermine
Cheapest generic viagra online
Tramadol prescription online
Buying cialis online without a prescription
Order tramadol online cod
Cheap tramadol cod
Generic tramadol
Ordering propecia from canada
Phentermine hcl no prescription
Best viagra dose
Generic xanax xr
Cheap cialis viagra
Where to buy phentermine cheap
Cheapest levitra
Tramadol free shipping
Where to buy cialis without prescription
Phentermine buy uk
Free cialis online
Side effects of viagra
Valium online overnight
Buy xanax cheap online
Prednisone dosages
Buy xanax overnight
Buy phentermine online no prescription
Viagra express delivery
Low cost cialis
Xanax bars side effects
Cheap xanax for sale
Propecia price
Phentermine online uk
Viagra for sale online
Where can i buy viagra without a prescription
Prescription viagra uk
Buy brand name viagra
Phentermine 37.5mg
Phentermine buy australia
Prednisone tablets 10 mg
Buy generic phentermine online
Order cheap viagra online
Cheap levitra no prescription
Canada viagra
Viagra price canada
Buy female viagra without prescription
40 mg prednisone side effects
Levitra on sale
Viagra online without prescription reviews
Get viagra prescription
10mg valium effects
Buy phentermine online without prescription
Viagra dosage information
Viagra discount prices
Order tramadol cod
Buy xanax online without prescription
Brand viagra cheap
Cheap 100mg viagra
Levitra online cheap
Dose of xanax
Xanax 0.5 mg
Cheap levitra uk
Phentermine without a prescription
Tramadol pharmacy
Online prescription tramadol
Valium online pharmacy
Viagra india price
100mg tramadol online
Cheap phentermine without prescription
Prednisone 40 mg
Xanax overnight cod
Viagra cheapest
Propecia information
Cialis dosage 20mg
Cialis for sale
Where to buy viagra online
Generic cialis overnight
Phentermine cheap online
Generic viagra for sale
Order prednisone no prescription
Tramadol no prescription required
Best price cialis
Xanax no prescription overnight
Levitra us
Cheap propecia without prescription
Xanax bars dosage
Purchase phentermine
Buy cialis online from canada
Cialis samples canada
Cialis ordering
Cialis side effects
Tramadol online no prescription overnight
Purchase phentermine online
Buying viagra in london
Propecia best prices
Cialis order online
Xanax buy uk
Cialis price
Order cheap phentermine
Best price on phentermine
Order tramadol online overnight
Cialis purchase online
Viagra professional online
Viagra discount coupons
Purchase tramadol without prescription
Discount viagra india
Tramadol for sale
Viagra shop online
Valium online uk
Prescription propecia
Valium online fast delivery
Cheap cialis
Tramadol medication
Low price cialis
Discount viagra usa
Buy generic cialis uk
Valium no rx
Cialis 20mg side effects
Viagra buy online no prescription
Generic cialis tadalafil
Buy viagra uk no prescription
Viagra 50mg side effects
Buy generic cialis
Viagra cheap no prescription
Buy phentermine hcl 37.5 no prescription
Buy tramadol hydrochloride
Buying viagra in new zealand
Viagra canada online
Free cialis samples
Where to buy viagra in england
How to buy phentermine online
Get tramadol prescription
Phentermine with no prescription
Propecia generic cost
Cheap xanax bars
Cialis 20mg
Genuine viagra online
Buy phentermine 37.5mg online
Tramadol cheapest
Propecia generic canada
Buy viagra online in ireland
Tramadol india
Buy viagra from canada
Tramadol online overnight
Viagra no prescription online
Xanax price per pill
Valium cheapest
Best prices for cialis
Valium pill 10mg