1

Hi um new to html and I want to know the way to create a file save dialog box. It should not be a file open dialog box. is it possible to do in html ? I found these two components

 <input type="file" dialogtype="save" />

This creates a file upload dialog box though it mentioned the dialogtype as save

not 0x12
  • 19,360
  • 22
  • 67
  • 133
  • 1
    what exactly are you trying to allow the user to save? Couldn't you just let them download the file by redirecting them to the file? – Gabriel Sadaka Oct 29 '13 at 05:04
  • thats because u have given input type as file,thats y it will open a file upload dialog box. – R R Oct 29 '13 at 05:05
  • is there a way to create a file save dialog? I want to save a file which already in a server to another location to the server – not 0x12 Oct 29 '13 at 05:05
  • that u can do via cpanel,y u need to create a save dialog box explicitly for that.? – R R Oct 29 '13 at 05:08

1 Answers1

1

If you want to make download link ( Allowing user to download file server ). You can <a> tag to give server path. So when user click on the link browser will ask user to save the file.

Ex:

<a href="link/to/file.zip">Download</a>
Shafeeque
  • 2,039
  • 2
  • 13
  • 28