Hello Robin,
I have not used SharpCap Pro for a very long time, but I am absolutely thrilled with the software.
When using my ASI 178MC with SharpCap as an All Sky camera, I came up with the following idea:
If you would equip SharpCap with an FTP functionality, you could copy the images of the AllSky camera (or any camera) in an adjustable time interval via FTP to a web server and display it on a web page. The advantage of this would be that several (many) users can see these images to get an idea of the local sky, without burdening the traffic of the observatory. In addition, I would imagine that there are people who would use this feature for remote-controlled time-lapse recording.
Since the live stacking delivers perfect images of the sky, the combination would be an ingenious solution.
Picture upload via FTP
Forum rules
'+1' posts are welcome in this area of the forums to indicate your support for a particular feature suggestion. Suggestions that get the most +1's will be seriously considered for inclusion in future versions of SharpCap.
'+1' posts are welcome in this area of the forums to indicate your support for a particular feature suggestion. Suggestions that get the most +1's will be seriously considered for inclusion in future versions of SharpCap.
- admin
- Site Admin
- Posts: 13319
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Picture upload via FTP
Hi Werner,
this sounds like a task that could be handled by the SharpCap python scripting tool -
* Python supports FTP - https://docs.python.org/2/library/ftplib.html
* SharpCap allows you to get the last captured filename
* Put a delay in between each upload - https://docs.python.org/2/library/time.html#time.sleep
* Wrap it in a loop to run it repeatedly - https://wiki.python.org/moin/WhileLoop
* Run it in a separate thread to keep the main SharpCap UI responsive - https://www.tutorialspoint.com/python/p ... eading.htm
If you don't feel like using scripting then it may be possible to use some sort of separate ftp program to automatically sync captured images to your FTP server.
cheers,
Robin
this sounds like a task that could be handled by the SharpCap python scripting tool -
* Python supports FTP - https://docs.python.org/2/library/ftplib.html
* SharpCap allows you to get the last captured filename
Code: Select all
SharpCap.GetLastCaptureFilename()
* Wrap it in a loop to run it repeatedly - https://wiki.python.org/moin/WhileLoop
* Run it in a separate thread to keep the main SharpCap UI responsive - https://www.tutorialspoint.com/python/p ... eading.htm
If you don't feel like using scripting then it may be possible to use some sort of separate ftp program to automatically sync captured images to your FTP server.
cheers,
Robin
Re: Picture upload via FTP
Werner
Have a look at https://winscp.net/eng/docs/guide_automation plus https://winscp.net/eng/docs/guide_schedule for automated scheduling.
Dave
Have a look at https://winscp.net/eng/docs/guide_automation plus https://winscp.net/eng/docs/guide_schedule for automated scheduling.
Dave
Re: Picture upload via FTP
Thank you very much, that sounds nice!
I, for my self, have not very much knowledge of python. But i know one with that knowledge.
I will try to catch him and if ... I let you know
Thank's again
---
Werner
Werner
- admin
- Site Admin
- Posts: 13319
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Picture upload via FTP
Excellent - good luck!
The python scripting is there for just this sort of thing where someone has a request for a feature that would suit them perfectly but isn't going to be used by many SharpCap users - they can add their special feature with the scripting.
cheers,
Robin
The python scripting is there for just this sort of thing where someone has a request for a feature that would suit them perfectly but isn't going to be used by many SharpCap users - they can add their special feature with the scripting.
cheers,
Robin