FTP creating image file but zero bytes

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
garycee
Newbie
Posts: 17
Joined: Mon Jul 20, 2015 7:17 pm

FTP creating image file but zero bytes

Post by garycee » Mon Jul 03, 2017 6:13 am

Hi,

Thanks again for this great forum!

Now, I am uploading an image file from my local disk via your FTP in Code Builder. The file is created on my server but when I check it there are zero bytes of information. It is an image file and the image is fine on my local disk when I view it or check its number of bytes in its properties window.

Thanks for any help in advance.

Gary.

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: FTP creating image file but zero bytes

Post by Marcus Tettmar » Mon Jul 10, 2017 12:38 pm

Are you setting the correct mode? For a graphic file that would be binary. Also try passive mode.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts