login to ftp page

  • Cae
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 25, 2004
  • Posts: 734
  • Status: Offline

Post July 28th, 2004, 8:47 am

ok, you know when you go to an ftp server (one that does not allow anon access), internet explorer will prompt you for a username/password?

what i am trying to do is make a page where you can input said username and password, and will then redirect you to, and log you into an ftp server (namely mine, running off of my computer).

any ideas as to how do do this?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 28th, 2004, 8:47 am

  • Cafu
  • Student
  • Student
  • No Avatar
  • Joined: Jul 15, 2004
  • Posts: 97
  • Status: Offline

Post July 28th, 2004, 9:55 am

You should be able to do this by including the username/password in the URL when you redirect to the FTP server. This may help from http://www.cs.tut.fi/~jkorpela/ftpurl.html :

Quote:
According to the specification of URL formats, RFC 1738, an FTP URL is of the form
ftp://user:password@host:port/path

so that some or all of the parts user:password@, :password, :port and /path may be excluded.


So, redirecting to something like ftp://ftpuser:ftppassword@myftpsite.com/files should work.

But, be aware that this will appear in the URL bar so there are some security issues.
  • Cae
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 25, 2004
  • Posts: 734
  • Status: Offline

Post July 28th, 2004, 8:28 pm

that worked, tyvm

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 187 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.