How do I upload files with WGET?
I know how to use WGET to download files from an FTP server.
However, I want to use WGET in my batch files to upload files to my friends server, e.g. a text files or *.PNG.
How can I do this, and can you please provide example code (e.g. in a batch file?)
- Mohamed MansourLv 61 decade agoBest Answer
Hello, your looking for wput, which is the opposite of wget, capable of uploading files to FTP servers with an easy to use command line interface similar to wget's interface.
- JaneLv 44 years ago
Not possible to transfer a file from one FTP server to another without downloading first, UNLESS you have shell access to either system.
- FaithLv 44 years ago
For the best answers, search on this site https://shorturl.im/axJxz
You would need SSH access to the destination webserver and would use a Linux command such as WGET. If this is a hosted webserver and not run by yourself, then it is like you will not have SSH access. edit - it's interesting that someone gave this answer a thumbs down - yet they failed to post their own answer....