-
-
Notifications
You must be signed in to change notification settings - Fork 65
Sending local file with curl / ftp #41
Comments
yes we could make that a bit more explicit in the documentation for uploading scenarios eg. you would need to mount volume in container as you suggested (or perhaps docker copy file into container). Something like the following works
|
It doesn't seem to work:
Are you sure, it's not up to the image to provide/include the working directory? Oh, it works without the |
the example I provided works ... your error listing is confusing eg. refers to "/work/test.tx" and "/work/test.txt" ... closing this as I believe the question was answered (and no obvious issues) - if you think that is not the case continue to comment on this issue and i will re-open. |
The warning was on two lines because my real filename is long. Thanks |
I tried upload a local file to my ftp server using this command:
I get the following error:
Of course, if I just write the command with curl, it's ok:
I suppose it can't work because test.txt is not in the container.
With other containers, I'm used to specify a
-v "$PWD:/workdirectory"
option, but I dont' know if it's available in this container.Am I missing an option or a work directory to use local files?
Thanks.
The text was updated successfully, but these errors were encountered: