Problem description
Using curl to upload an FTP file today throws an error
Using curl to upload an FTP file today throws an error
[email protected]:~$ curl -T /home/sam/myinstall ftp://192.168.2.48/camera
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (25) Failed FTP upload: 550
The solution
Is important! The FTP address must end with /
For example: curl - T/home/Sam/myinstall ftp://192.168.2.48/camera/ code>
Perfect test solution!
[email protected]:~$ curl -T /home/sam/myinstall ftp://192.168.2.48/camera/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1612 0 0 100 1612 0 76761 --:--:-- --:--:-- --:--:-- 76761
div>
Read More:
- Solution to (ERROR: Failed to build gem native extension.) encountered when updating pod
- Solution encountered when updating pod (error: failed to build gem native extension.)
- RCurl error-fatal error: curl/curl.h: No such file or directory
- Shell curl command reported an error: (60) SSL certificate problem: self signed certificate
- Mac installation dart error curl: (35) libresssl SSL_ connect: SSL_ ERROR_ SYSCALL in connection to storage.googleapis.co
- About the reason why the Raspberry Pi raspistill command cannot find the camera
- On curl: (2) failed initialization
- ElementUI implements front-end paging
- Running realsense ROS reports an error, USB cam overflow, hardware error
- picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resource
- ROS package ROS_ astra_ Camera cannot open RGB lens
- ruby 2.1.1 rails 4.2.0 Install gemset mysql command line tool for mac osx
- Error = [Microsoft][SQL Server Native Client 11.0]Unable to open BCP host data-file
- VIDEOIO ERROR: V4L: can’t open camera by index 0
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- Cocos creator 2.4.5 2D RPG (Infinite scrolling background implementation)
- [problem solving] target is multiclass but average =’binary ‘. Please choose another average setting
- [Linux] curl: (7) failed to connect to 127.0.0.1 port 1086: connection reused solution
- GitHub desktop upload file error commit failed – exit code 1 received
- Record the pits you stepped on – NSS error – 5938 (PR_ END_ OF_ FILE_ ERROR), curl: (35) Encountered end of file