Upload to bucket pictures from a csv file with GAE and Google Cloud Storage2019 Community Moderator ElectionSlow 5 kbps uploads to Google Cloud Storage from AndroidUploading to Google Cloud via an asp.net webpageUnable to read csv file uploaded on google cloud storage bucketCreate/fill form with values from uploaded CSVUploading files to Google Cloud Storage from .NetDownloading folders from Google Cloud Storage BucketGoogle cloud storage lifecycle configuration filesize?Restore Bucket on Google Cloud StorageUploading csv file with vbaTimeout Error When Uploading File from Google App Engine Storing to Google Cloud Storage
Is there a place to find the pricing for things not mentioned in the PHB? (non-magical)
How do I hide Chekhov's Gun?
How are passwords stolen from companies if they only store hashes?
et qui - how do you really understand that kind of phraseology?
Do I need life insurance if I can cover my own funeral costs?
How could an airship be repaired midflight?
Adventure Game (text based) in C++
Knife as defense against stray dogs
Bach's Toccata and Fugue in D minor breaks the "no parallel octaves" rule?
What is the relationship between relativity and the Doppler effect?
World War I as a war of liberals against authoritarians?
Custom alignment for GeoMarkers
How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?
Is it insecure to send a password in a `curl` command?
Why did it take so long to abandon sail after steamships were demonstrated?
This word with a lot of past tenses
Have the tides ever turned twice on any open problem?
How to pronounce "I ♥ Huckabees"?
What are substitutions for coconut in curry?
How do you talk to someone whose loved one is dying?
What is the adequate fee for a reveal operation?
What is the significance behind "40 days" that often appears in the Bible?
I got the following comment from a reputed math journal. What does it mean?
Fastest way to pop N items from a large dict
Upload to bucket pictures from a csv file with GAE and Google Cloud Storage
2019 Community Moderator ElectionSlow 5 kbps uploads to Google Cloud Storage from AndroidUploading to Google Cloud via an asp.net webpageUnable to read csv file uploaded on google cloud storage bucketCreate/fill form with values from uploaded CSVUploading files to Google Cloud Storage from .NetDownloading folders from Google Cloud Storage BucketGoogle cloud storage lifecycle configuration filesize?Restore Bucket on Google Cloud StorageUploading csv file with vbaTimeout Error When Uploading File from Google App Engine Storing to Google Cloud Storage
First of all, I'm using the standard environment in java.
Here's my problem: I have a directory filled with pictures and I have also a CSV file in which there is some informations in columns AND a column which refers to the name of the associated picture in the directory.
I don't know how I would be able to read the csv file and then upload the corresponding picture situated in the directory.
I had the idea of uploading the csv file in one input file and all the pictures in another input file which be "multiple", but the amount of pictures is really large (approximately 5000).
Any idea to solve this ?
Thanks for your help
java forms google-cloud-platform upload google-cloud-storage
add a comment |
First of all, I'm using the standard environment in java.
Here's my problem: I have a directory filled with pictures and I have also a CSV file in which there is some informations in columns AND a column which refers to the name of the associated picture in the directory.
I don't know how I would be able to read the csv file and then upload the corresponding picture situated in the directory.
I had the idea of uploading the csv file in one input file and all the pictures in another input file which be "multiple", but the amount of pictures is really large (approximately 5000).
Any idea to solve this ?
Thanks for your help
java forms google-cloud-platform upload google-cloud-storage
add a comment |
First of all, I'm using the standard environment in java.
Here's my problem: I have a directory filled with pictures and I have also a CSV file in which there is some informations in columns AND a column which refers to the name of the associated picture in the directory.
I don't know how I would be able to read the csv file and then upload the corresponding picture situated in the directory.
I had the idea of uploading the csv file in one input file and all the pictures in another input file which be "multiple", but the amount of pictures is really large (approximately 5000).
Any idea to solve this ?
Thanks for your help
java forms google-cloud-platform upload google-cloud-storage
First of all, I'm using the standard environment in java.
Here's my problem: I have a directory filled with pictures and I have also a CSV file in which there is some informations in columns AND a column which refers to the name of the associated picture in the directory.
I don't know how I would be able to read the csv file and then upload the corresponding picture situated in the directory.
I had the idea of uploading the csv file in one input file and all the pictures in another input file which be "multiple", but the amount of pictures is really large (approximately 5000).
Any idea to solve this ?
Thanks for your help
java forms google-cloud-platform upload google-cloud-storage
java forms google-cloud-platform upload google-cloud-storage
edited Mar 11 at 11:46
Pawel Czuczwara
567
567
asked Mar 7 at 15:34
etienne31etienne31
105
105
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
New contributor
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55047518%2fupload-to-bucket-pictures-from-a-csv-file-with-gae-and-google-cloud-storage%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
New contributor
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
New contributor
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
New contributor
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
New contributor
New contributor
answered Mar 11 at 15:32
Pawel CzuczwaraPawel Czuczwara
567
567
New contributor
New contributor
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55047518%2fupload-to-bucket-pictures-from-a-csv-file-with-gae-and-google-cloud-storage%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown