SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Open ftp in iframe

    My friend's host has no upload facility. They also block uploading scripts.

    As she wants to be able to upload files easily I have opened her ftp folder within an iframe when she has logged into her admin functions.

    This allows her to drag and drop files when she's viewing in Windows & IE.

    What I'd like to know is how safe a method is this?
    What ways can I make it safer?

    Thanks
    Last edited by Markdidj; Dec 8, 2004 at 12:43.
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if

  2. #2
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You still provide a username and password to gain access to the FTP site correct?

  3. #3
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yeah, Mongoloid.

    When she's logged in I add
    Code:
    <iframe style="width:530px;height:200px" src="ftp://username:password@example.co.uk/gallery/images/" ></iframe>
    so it opens her ftp at the images folder.
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •