Question with File Transfer
So, I was looking at omz's File Transfer script but noticed that it doesn't upload scripts that are in folders to the site. Any suggestions for a beginner? Thanks.
(Also, I would eventually like to make it so the user can upload files from dropbox)
ccc last edited by
Given the Dropbox API http://omz-forums.appspot.com/pythonista/post/6675908186341376 and DropboxSync https://gist.github.com/sidewinder42/8631794 , you should be able to easily sync python scripts between Pythonista and Dropbox. If this is not sufficient, then please provide more details about exactly what you are trying to achieve.
Just was trying to experiment with adding to his script as a project, but was having some trouble. His script lets you host a website through your IP address with the current scripts in your library.
omz last edited by
I wrote the script when Pythonista didn't support folders yet.
I've just updated it to list files in folders as well. It's pretty basic, i.e. it lists all files in a flat list, making separate pages for subfolders would require a little more effort...
Thanks for your help! I'll fork the gist when I get some other things done (i.e. getting the IP address automatically from the users machine, getting the form to upload files from dropbox, etc.)
clehrich last edited by
I'm sorry, I know this is idiotically obvious, but I can't seem to get the two DropBox scripts to run properly.
dropbox_login runs fine, the app keys and such are accepted
DropboxSync stops at
client = dropboxlogin.get_client()
ErrorResponse: :u"Invalid app key (consumer key)....."