View Issue Details

IDProjectCategoryView StatusLast Update
0001168FreeCADFeaturepublic2013-07-07 11:42
Reporteryorik Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionno change required 
Fixed in Version0.14 
Summary0001168: Open from URL
DescriptionIn preparation to some possible web experiments, it could be cool to have an "Open from URL" command in the file menu (and also via python).

The command would show a dialog box when someone can insert an url like: "http://www.myserver.com/path/myfile.FCStd" (ideally it could even automatically paste the contents of the clipboard, if it a text beginning with "http://" or "https://")

The file would then be downloaded to a temp dir and opened. The file path should be unset, so when someone clicks "save", a file save dialog opens, instead of saving on the temp file.
TagsNo tags attached.
FreeCAD Information

Activities

yorik

2013-07-07 00:46

administrator   ~0003343

I plan to work on that in some future, but if someone wants to do it (surely faster than me), don't hesitate!

wmayer

2013-07-07 06:25

administrator   ~0003344

Visit e.g. this page: http://forum.freecadweb.org/viewtopic.php?f=3&t=4216
Press on one of the attached files and drag and drop it to the FreeCAD main window. This opens a download manager window where a progress bar is shown. The file gets saved in the "FreeCAD" sub-directory of your Documents folder.

There are a few limitations:
* nowadays many download links are not simply a file but a PHP script and in a couple of cases it fails to retrieve the actual URL
* if you try to download from a server where you have to be logged in

yorik

2013-07-07 11:41

administrator   ~0003348

Wow, amazing!!! I hadn't seen that download manager. This is far better than what I had in mind. I guess we can close this now! One more case of issues you solved before it was even openend, Werner :)

Issue History

Date Modified Username Field Change
2013-07-07 00:45 yorik New Issue
2013-07-07 00:46 yorik Note Added: 0003343
2013-07-07 06:25 wmayer Note Added: 0003344
2013-07-07 11:41 yorik Note Added: 0003348
2013-07-07 11:42 yorik Status new => closed
2013-07-07 11:42 yorik Resolution open => no change required
2013-07-07 11:42 yorik Fixed in Version => 0.14