Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transferring file to parent / root folder #317

Closed
SurrounDTech opened this issue Nov 23, 2022 · 8 comments
Closed

Transferring file to parent / root folder #317

SurrounDTech opened this issue Nov 23, 2022 · 8 comments

Comments

@SurrounDTech
Copy link

Hi,

I am trying to transfer a file from one user's sub folder to another user's root (my drive) and have been trying the following command, but I can't seem to get it to work with targetuserorphansfoldername "". If a folder name is added, the command works correctly but does not when using just the "". Am I running this incorrectly?

gam user user@domain.com transfer drive otheruser@domain.com select <FileID> targetuserfoldername "" retainrole writer nonowner_targetrole source

I receive the following error and it looks to be ignoring the ""

image

With the retainrole removed to just have ""

image

Thanks in advance for your help.

@taers232c
Copy link
Owner

taers232c commented Nov 23, 2022 via email

@SurrounDTech
Copy link
Author

Hi Ross,

Thanks for the reply and my mistake I should have proofread what I had posted it was the targetuserfoldername "" which was working not the Orphan version (bad copy and paste). I was actually running this in a PowerShell window so will try in just plain cmd and let you know how I go.

@SurrounDTech
Copy link
Author

Hey Ross, can confirm it was the powershell windows, sorry I should have picked up on this before logging a ticket.

@taers232c
Copy link
Owner

taers232c commented Nov 23, 2022 via email

@taers232c
Copy link
Owner

taers232c commented Nov 23, 2022 via email

@SurrounDTech
Copy link
Author

Hey Ross,

Sorry I am in and out of meeting today (Australian based). The blue is just the colour anything in quotes in PowerShell Windows Terminal.

Working in CMD via Windows Terminal
image

Not working Powershell via Windows Terminal (Blue quotes)
image

Standard Powershell Window (grey quotes)
image

Get-ChildItem with Blue quotes
image

Windows Terminal Version
image

PowerShell Version
image

@taers232c
Copy link
Owner

taers232c commented Nov 24, 2022 via email

@SurrounDTech
Copy link
Author

Thanks Ross

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants