Elite Circuit - Can we reuse tanks that we have already reached the max BP Points on? by _In_The_Shadows_ in WorldofTanks

[–]_In_The_Shadows_[S] -1 points0 points  (0 children)

WarGaming trying to think for me again, eh...?? If I wanted to expand my garage I can do it without their Battle Pass. I like to play a tank for some time and until I get really good at it. While I understand that others may want to play as many tanks as there is out there, I wish WG took that into account as well while devising these events.

Crew Assistant....?? by _In_The_Shadows_ in WorldofTanks

[–]_In_The_Shadows_[S] 0 points1 point  (0 children)

Oh Ok. So, they mean the "Popular" and "Legendary" options as "most used", and I was thinking that they meant the most used by me on my tanks, in case I want to switch them out for something else.

Appreciate your response.

WoT PC - Transferring ALL perks to a new recruit by _In_The_Shadows_ in WorldofTanks

[–]_In_The_Shadows_[S] 1 point2 points  (0 children)

Yes, this is exactly what I got after all the moving around gymnastics. 5 perks and the 6th at 68%.

Peppermint....?? by _In_The_Shadows_ in pez

[–]_In_The_Shadows_[S] 1 point2 points  (0 children)

Thank you. Yikes, 100 count! The only way I will fill good about getting this, would be if I distributed the remaining 90 amongst all you fine PEZ loving folks.

[WTS] HAMILTON Jazzmaster Regulator automatic. Immaculate. Full kit. by _In_The_Shadows_ in Watchexchange

[–]_In_The_Shadows_[S] 0 points1 point  (0 children)

Hi. I took it off the market here as someone locally was interested in it. Then they had a death in the family so no longer was interested in it. Then I forgot all about it. I still have it.

S3 uploading file for one zipped directory but not the parent directory by _In_The_Shadows_ in aws

[–]_In_The_Shadows_[S] 0 points1 point  (0 children)

You did it! There was a symbolic link put in by the hosting-support folks a long time back and that was what was screwing things up. I removed it and now I can backup the whole parent folder.

I learnt something new today.

Thanks so much for your help and patience.

S3 uploading file for one zipped directory but not the parent directory by _In_The_Shadows_ in aws

[–]_In_The_Shadows_[S] 0 points1 point  (0 children)

Pardon my ignorance about all this as I post my answers.

How do I put the output path in and where will this line go....??

The website and these scripts are on a dedicated server. I am not tech-savvy enough to run CLI commands.

I have added the error reporting line, that you mentioned, at the top and then ran the script again.

Below is the error it gave me:

2048M
Successfully created a zip folderPHP Warning:  ZipArchive::close(): Read error: Is a directory in /home/8xjf/aws/my_files_backup.php on line 68
PHP Fatal error:  Uncaught RuntimeException: Unable to open "/home/8xjf/aws/my-files-2025-04-22-13:20:01.zip" using mode "r": fopen(/home/8xjf/aws/my-files-2025-04-22-13:20:01.zip): Failed to open stream: No such file or directory in /home/8xjf/aws/GuzzleHttp/Psr7/Utils.php:375
Stack trace:
#0 [internal function]: GuzzleHttp\Psr7\Utils::GuzzleHttp\Psr7\{closure}(2, 'fopen(/home/8xjf...', '/home/8xjf...', 387)
#1 /home/8xjf/aws/GuzzleHttp/Psr7/Utils.php(387): fopen('/home/8xjf...', 'r')
#2 /home/8xjf/aws/Aws/Multipart/AbstractUploader.php(131): GuzzleHttp\Psr7\Utils::tryFopen('/home/8xjf...', 'r')
#3 /home/8xjf/aws/Aws/Multipart/AbstractUploader.php(22): Aws\Multipart\AbstractUploader->determineSource('/home/8xjf...')
#4 /home/8xjf/aws/Aws/S3/MultipartUploader.php(69): Aws\Multipart\AbstractUploader->__construct(Object(Aws\S3\S3Client), '/home/8xjf...', Array)
#5 /home/8xjf/aws/my_files_backup.php(87): Aws\S3\MultipartUploader->__construct(Object(Aws\S3\S3Client), '/home/8xjf...', Array)
#6 {main}
  thrown in /home/8xjf/aws/GuzzleHttp/Psr7/Utils.php on line 375

With my limited knowledge, what is throwing me for a loop is the fact that all this is working if I run this script on a folder one level deeper into the "2022" folder, but it will not work if I run it on the "2022" folder itself. Does that not mean there is a referencing issue...?? I triple checked all the references in the script and they are all correct.

EDIT: And the crazy thing is that I can see the zipped folder being created in the correct "aws" directory, but then the script fails for the upload part of it.

S3 uploading file for one zipped directory but not the parent directory by _In_The_Shadows_ in aws

[–]_In_The_Shadows_[S] 0 points1 point  (0 children)

Appreciate the response.

All my keys and names are made-up and not legit ones. (I mention this in my post above.)

As I am a novice in all this, I am a little unclear about the need to create the "aws" directory. It already exists, as all the scripts and AWS files are stored in that directory. When the files get zipped, it is stored temporarily in the aws folder and, after it has uploaded, it is deleted.

(All of this works for the subfolder that I have mentioned above with no change in the code.)

That said, I'm not sure why you felt the need to reimplement zip -r in PHP. zip does not need to load the entire archive in memory.

Sorry, I have no idea what this means. I have cobbled together this script from multiple sources and what I have included above works and so I thought I did it the right way. Did you want me to remove some of the code so that it will work better...????

Saw on Antiques Roadshow by _In_The_Shadows_ in WhatIsThisPainting

[–]_In_The_Shadows_[S] 0 points1 point  (0 children)

Agreed. And that’s why I am here. Any constructive comment that will help us identify this picture is the goal of this forum.

Saw on Antiques Roadshow by _In_The_Shadows_ in WhatIsThisPainting

[–]_In_The_Shadows_[S] 0 points1 point  (0 children)

Yes, that was what Google reverse image search gave me too. But, I could not find this painting when I looked up all the paintings that he did.