Open FTP server on client side on button click - ftp

I am developing a web application.
If a user clicks on a button on the web page, then FTP server should be open in windows explorer and the user should be able to paste files on the server.
Please help me out......
Thanks in Advance.

I'm going to guess you are developing on PHP? instead of connecting to FTP perhaps you can try a php based file manager which opens upon user's click.
Below link provides good free file managers that allow users to manage files (alike on FTP) directly on the web, and it also will allow you to add protection on file level.
http://devsnippets.com/article/7-free-powerful-file-managers.html
on another note you can hardcode a link to the ftp to contain the username and password
note that most browsers do not open on windows explorer and you won't really have control on that through web. I definitely suggest the above instead.
xtp://username#name.ext will prompt for password
xtp://username:password#name.ext will transmit password witb no security

Related

Azure Portal Login automatically uses Windows Account

In Internet Explorer, when I go to any site that is authenticated via Azure AD, the login page automatically chooses to log me in with my Windows Account. This functionality would typically be great, but I need to use different credentials (my clients).
How can tell IE to NOT automatically log me into Azure AD with my windows credentials?
When I use any different browser, the expected functionality exists and I am prompted to enter the login credentials I want. Also, the solution can not be "just use a different browser". Client uses IE for everything and won't allow users to install different browsers.
I am running Windows 10.
Thanks in advance
Opening IE InPrivate window should allow you to login with any user you need.
Use Ctrl+Shift+P or Settings Icon->Safety->InPrivate Browsing.

How to download server files with only ftp link

So I have just started to work on a client's site, and their site is apparently on a hong kong based hosting company.
I asked them the username and password for accessing the files and their old developer gave us this ftp:/130.. ip address like link
with the username and password.
When I click the link and the browser takes my username and password, I get a index list of all the files.
I however want to download all the files and I was wondering if there is a way of doing so without having the hosting site to have admin log in from.
Just in case the hong kong office guys dont give in all the info.
What should I do to have the files download to a folder using something like Filezilla or some other method? Cause I am new to web development and design, I tried using filezilla but that didnt give me the directory or connect fully.
the ftp user that gave u is limited . so with filezila you can see just a specific folder.
and in another hand , to download easily u can download them with IDM , just set user , pass into it and download all the files.
for id : http://www.internetdownloadmanager.com/support/using_idm/options.html
see Site Logins tab pasrt

How to open a URL in batch file that require Username and Password?

In the Command Prompt,
I can open a url by START Http://www.foobar.com
What if the website require to type in a Username and Password?
as shown in
btw the Username is a domain account like foo\bar
I'm guessing, we're talking about HTTP Basic authentication? If so, you can use something like
START http://username:password#www.foobar.com
Just tested, this does not work on newer versions of Internet Explorer. It works on Firefox and most likely on other browsers. Internet Explorer can save the password though, you'll have to use the dialogue on the page once.

Browser interact with external application

I have a webpage that which need to access some user data on his windows PC.
Ex.Read Outlook Email , due to security restrictions browsers wont allow this.
What is the best way to achieve this ?
Write an ActiveX control ? [what about FF,Chrome]
I need this work with Firefox,IE,Chrome.
Thanks.
You can't do this - it would be a huge security/privacy issue if a browser could access information on the user's machine. The only way to get Outlook emails would be to tell the user to export their emails from Outlook and have them upload the exported emails to your website.
You will need to write a tool like Google Calendar Sync that your users would download and install.
They would have to input their website credentials or a token that you generate for them and your app would do whatever needs to be done on the local PC. You may also have a trust issue as well. Will your users trust running your app to read their emails? Depends on the situation I guess, but a totally browser based solution probably won't work if it needs to be cross-browser compliant.

When accessing localhost IIS asks for username and password

I have installed IIS on Windows XP SP3. When I want to access localhost from my browser the authentication window appears and asks for user name and password. Anonymous access is enabled for IUSR_ user and this user has full control permission on wwwroot folder. Any help is appreciated in advance.
You've set your web site up to use Integrated Windows (NTLM) Authentication, which is supported by default in IE but not in Firefox. Firefox requires you to permit NTLM on a site-by-site basis.
This page explains how to enable NTLM and remove the login boxes in Firefox.
Basically, you need to type about:config in the address bar and add the hostname to the list of comma-separated values on the network.automatic-ntlm-auth.trusted-uris setting.
Let's say you have two sites that you want to enable NTLM authentication on: http://www.foo.com/ and http://www.bar.com/. You would need to set network.automatic-ntlm-auth.trusted-uris to www.foo.com, www.bar.com.
If you want your site to be accessible to anonymous users, you need to make sure that your IUSR_xxx account has at least read permission to the files that your web site is serving at the file system level. You can do this via Windows Explorer. I think you also need to grant list permission on the parent directories.

Resources