node-ftp-client icon indicating copy to clipboard operation
node-ftp-client copied to clipboard

ftp-client-Upload ignore .jpg files

Open pipmali opened this issue 5 years ago • 1 comments

Hi. I use fpt-client in a inotifywait function on node.

the upload option cannot upload .jpg file. But when i did with .sh or .js file it succesfully uploaded.

Are there any other workaround?

pipmali avatar Feb 12 '20 11:02 pipmali

I'm having the same problem... Trying to upload an image file (jpg, png).

I can upload but when I download the file, it's corrupted. I don't know how can I make ftp "understand" that buffer to become an image.

thiagopuntar avatar Jan 28 '21 20:01 thiagopuntar