Uploading file using ftp failed because of ArgumentNullException #2459
-
I'm trying to upload a content from ftp to S3 via standard storage type, but I keep getting ArgumentNullException. No where in my code that I'm using IEnumerable object (see below for sample code).
I wrote a sample code to see if I can upload file using stream from local dir and from an ftp server via stream. The test for upload from local dir works, but not from FTP. I modeled my code after the S3 Upload example (https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html). Here is an excerpt of my code
I've also tried using PutObjectAsync and the issue is the same. Is the issue with ftp or am I missing something in TransferUtilityUploadRequest? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@techiechelle Good afternoon. Could you please share the following:
Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
@techiechelle Good afternoon. Could you please share the following:
AWSSDK.S3
?Thanks,
Ashish