login to ftp page

  • Cae
  • Expert
  • Expert
  • User avatar
  • Posts: 734

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Cafu
  • Student
  • Student
  • Cafu
  • Posts: 97

Post 3+ Months Ago

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
  • Posts: 734

Post 3+ Months Ago

that worked, tyvm

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 165 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.