tony75 10 Newbie Poster

Hi
I try to upload my picture to local server via FTP Batch file

I created script.batch which is contain

open 127.0.0.1
Tony    
123abc
#cd public_html
lcd C:\xampp\htdocs
lcd XAMPP Shared Folder
binary
mput C:\Users\Laptop\Desktop\XAMPP Shared Folder\AboutMe.jpg

bye

I have also another script(upload.batch) which is contain
ftp -i -s:script.bat

When I run upload.batch file it happen nothing?
I wonder why?
Is there any better code to upload picture to server?
I appreciate your help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.