Skip to content
Advertisement

Tag: upload

Image upload using curl

I want to upload image to remote site using curl cli version, i browse several pages here, but not able to solve my problem. I log http header in firefox while uploading image: Answer The basic curlsyntax would be curl -F “image=@/yourPath/yourImageFile.jpg” ‘https://www.site.xxx/upload_profile_picture/’ Specify other POST data fields with one or several additional -F options if necessary, as

LINUX: how to detect that ftp file upload is finished

In my project I have a file uploading feature. Files are uploaded via FTP. I need to configure a listener that will check for new files and invoke a script only when file uploading is finished. Because if I run this script immediately after detecting the new file, it can start to process file that is not completely uploaded, which

Advertisement