Download folder containing large files in the google drive to Linux - linux

This is the error code I get. As suggested here, it is because the file size is too big. Probably some of the files in the folder are very large (images in raw format).
Access denied with the following error:
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.
You may still be able to access the file from the browser:
Download ended unsuccessfully
Is there a command that I can download them to my linux machine?
This is the command I am using
gdown --remaining-ok --folder https://drive.google.com/drive/folders/<id>?usp=sharing

Wild guess the download link you have came from the google drive web application.
Someone right clicked on a file and selected share.
They then entered the email address of someone to share that file with.
Somehow you were given the Link that was emailed to that email address
The only drive account that can download that file is the owner of the email address it was Shared with. So you will need to be logged in as that account to download it.
Option would be if the owner of the file had created a share with everyone link instead of having supplied an email address.
This error has nothing to do with Linux or the size of the file

Related

PathFile Access Error when saving in G drive directory

So the issue is as follows.
I have created a VBA task that runs a query that returns some insignificant amount of data in our databases. It then does some simple calculations in the excel file, and finally it creates a new folder and it the saves the file to our department shared drive in Google Drive (we have a windows explorer path to the directory named G drive).
It works ok on my end but now I have sent the whole .xlsm file to my collegue and once she run the vba code, it throws an error saying Path/File Access Error. We have tried chaning the directory where it creates a folder and saves the file on her local C drive, and it works just fine.
Any ideas how to remedy this issue?
Instead of uploading to a windows explorer path, you should upload to an absolute path of google drive, as that is the same no matter who tries to access it. There is a guide here that accomplishes exactly that:
https://medium.com/coalmont/google-drive-api-using-excel-vba-80e3d7e41488
If for some reason that guide is not available, just google something like "vba excel upload google drive".

Cannot copy file to another computer with Group Policy

I created the GPO and wanted to copy files to another computer.
(Computer Configuration > Preferences > Windows setting >Files)
The file is located on the server and shared.
The folder security permission details.
Action: Update
Source File: \\servername\test\copyfile.txt
Destination File: C:\test\copyfile.txt
Expected the file is copied,but there no file is copied.
The log is shown successful.
I searched this issue on Google and tried to follow their solutions but it still doesn't work.
Do domain computers (because you are using a computer configuration) have access to read that share? If the share is set to only allow user accounts, then the computer object can't read your file.

Sharepoint-Mapped Network Drive can create new folders but not rename

I was able to map my sharepoint drive on my local computer (Note: this was not using the sync option on sharepoint, as I do not have access to do so). I am able to create new folders, however I am unable to rename it. When I try to rename the folder, I get the following message, regardless of how many characters I put:
I can change the file name from the sharepoint web portal, but not on my mapped network drive.
I am using Windows 10
I don't know if it's the same problem, but this guy got the same error message when he mapped the drive using a / at the end of the URL.
(i.e. he solved remapping: https://hostname.domain.com/Shared Documents
instead of: https://hostname.domain.com/Shared Documents/ )

Need help in developing a custom WebDav client using node.js

I am developing an open source application which should mount webdav share to local drive letter just like NETDRIVE and WEBDRIVE using node.js and electron-js, so in my application at present I am downloading all files from webdav share which takes a lot of time and not reliable for heavy data. Is there any other approach so that whenever user access a file, only that particular file should be fetched from webdav share, I’ve tried to display files meta data(dummy) structure in directory and kept that directory under file-watcher. So that when user tries to open a file then watcher should capture file open event to get which file was user trying to access, so that in background of application a service will triggered to fetch that particular file using file-path as reference, but none of them are unable to capture file open event. Is there any other approach to do so, correct me if I am in wrong direction.
Thank's
I think you want virtual file-system and recommend Dokan library.
Dokan is the start point of Windows virtual file-system application.
Open Source : Dokan (https://en.wikipedia.org/wiki/Dokan_Library)
Commercial: EldoS CBFS (https://www.eldos.com/cbfs)
Google, Naver use Dokan and NetDrive, RaiDrive(mine) use CBFS.

Copy file from ehternet-connected FTP - no internet

I have a device that stores data in an FTP-accessible folder. I can connect to it through windows (ftp:10.19.1.101) and map drive to it (C:\Users#ME#\AppData\Roaming\Microsoft\Windows\Network Shortcuts\MyDevice). There are no usernames or passwords - if the device is attached, you have access.
i can click and drag the file in Windows. I want to automate that in VBA so I can process the file.
The single file is located at the root (ftp://10.19.1.101/fs.log), and I want to copy it to a location on my C drive to process it in Excel. I've tried for hours using code snips found here to no avail. I don't access the internet to get it, and I think that might be the problem, since 99% of FTP activity is that way.
FileCopy doesn't work either.
Any help appreciated
If you can access it and map it to a drive, open up a cmd then type 'net use' and hit enter (when it's plugged in and mapped to a drive). You should then have the long location used by windows which you can use in your procedures to play around with the file?
HTH

Resources