-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name change to not interfere with brandnames
Add readme text add comments in init
- Loading branch information
Christian Holl
committed
Jan 5, 2014
1 parent
bc39be7
commit 5af67cd
Showing
4 changed files
with
31 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
A downloader written in python for the Toshiba FlashAir Wifi SDHC Cards. | ||
|
||
Currently using a setup of Hostname/IP, remote_folder and download directory requires a modification of the __init__.py. | ||
When started the script looks for the card on the given Host/IP if it is able to connect it, it gets the filelist by command.cgi | ||
and checks for every file inside the download directory, if a file is not present, it will be downloaded. This continues as | ||
long as the script is running, terminate it with CTRL-C. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
''' | ||
Created on Jan 4, 2014 | ||
Licence: GNU AGPL | ||
@author: Christian Holl | ||
''' | ||
from PyFlashAero import flashair | ||
import time | ||
|
||
if __name__ == '__main__': | ||
# Host/IP Port Timeout | ||
a=flashair.connection('192.168.0.16', 80,1000) | ||
while True: | ||
# REMOTE_FOLDER DOWNLOAD DIRECTORY | ||
a.sync_folder_to_remote_folder('/DCIM/', '/downloaddir') | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.