node-ftp-client
node-ftp-client copied to clipboard
ftp-client-Upload ignore .jpg files
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?
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.