-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use Post to download zip shapefile itself? #41
Comments
Hi Wavded, I try another way to create Post request like below, but it can not find the path of zip file, var parameters ={
|
hi Waveded, I find one solution can download the zipped shapefile through Post request , as shown below. however, the download zip file can not be used due to : Windows cannot open the folder. The compressed (zipped) Folder 'C:\Users\niuzh\Downloads\zippedshp(6).zip' is invalid. Thanks for your comments.
|
I am not up to speed on latest browser file handling but my current understanding is that you cannot trigger a download from an AJAX request. I believe you want to create a hidden form and submit that to get the download behavior. |
Thank you so much. it is working well. is it possible to host the similar service locally? |
yes, the readme has instructions, there also is a |
Thanks for sharing this great tool
I have tried to use Post request in my code to get zipped file download through web client, but no clue how to do it in callback function to fullfil the same ability as the convert button "Convert to Shapefile" does.
Could you please provide newbies some help? Many Thanks
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>The text was updated successfully, but these errors were encountered: