omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Question with File Transfer

    Pythonista
    4
    6
    3004
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • techteej
      techteej last edited by

      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)

      1 Reply Last reply Reply Quote 0
      • ccc
        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.

        1 Reply Last reply Reply Quote 0
        • techteej
          techteej last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • omz
            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...

            1 Reply Last reply Reply Quote 0
            • techteej
              techteej last edited by

              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.)

              1 Reply Last reply Reply Quote 0
              • clehrich
                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()

                I get

                ErrorResponse: [403]:u"Invalid app key (consumer key)....."

                Any thoughts?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB Forums | Contributors