Need some Help on FTP File Uploading using Curl in Linux [message #675603] |
Tue, 09 April 2019 03:33 |
|
ssyr
Messages: 65 Registered: January 2017
|
Member |
|
|
Hello All
I need to upload file on fTP for that I have used CURL command with FTP domain and crendenials.An I have stored this command in table.At run time script wille xecute this command.
My Problem is - when I am uploading file first time it is executing successfully but when again I tried using script is is not executing.
Command I have used:
curl --user User:Pwd --upload-file /Test_File.csv ftp://ftp-FTP Domain/'
When I tried to call again and again above command using unix command prompt it is executing.
But when using script it is executing only first time.
Could anyone please getting help to resolve my problem.
Thanks in advance.
|
|
|
|