noodny / node-ftp-client

MIT License
64 stars 32 forks source link

ftp-client-Upload ignore .jpg files #26

Open pipmali opened 4 years ago

pipmali commented 4 years ago

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?

thiagopuntar commented 3 years ago

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.