jaja714

FileExists ... on cloud?

4 posts in this topic

What is the most efficient way for AutoIt to check for the existence (and potentially basic properties) of cloud-based (googleDrive, dropBox, etc...) files?

Share this post


Link to post
Share on other sites



Both dropbox and OneDrive put a local folder in the profile in order to synch files (if you're using the desktop client). So it would be a simple call to FileExists:

#include <MsgBoxConstants.au3>

MsgBox($MB_OK, "", (FileExists(@UserProfileDir & "\DropBox\After.jpg") ? "Found it!" : "Nope!"))

 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Well, I'm familiar with using FileExists for local files but  I'm actually looking for a way to determine when the "sync" is complete.  So, the question remains...

What is the most efficient way for AutoIt to check for the existence (and potentially basic properties) of cloud-based (googleDrive, dropBox, etc...) files?

Share this post


Link to post
Share on other sites
37 minutes ago, jaja714 said:

I'm actually looking for a way to determine when the "sync" is complete.

File this under information that would have been nice in your first post. ;)

I know I have used this in the past, but it has been a long time. Don't know if it works under the latest release of DP:

 

 

 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Similar Content

    • kctvt
      By kctvt
      Hi there. A few years ago, we have Excel Offline. When we want to do something Auto with Excel, we have "_Excel"
      Now, Excel is not Offline anymore. Google Drive - Spreadsheet , brings Excel to Online. We can do a lot of things with Google Drive - Spreadsheet.
      But, I have a problem. Control, make a code Autoit run in Google Drive - Spreadsheet is not Easy. 
      So, I need help. Please give me some point to show me How to make a code AutoIT can run in Google Drive - Spreadsheet
      Thanks.