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?)

4 Answers

Relevance
  • 1 decade ago
    Best 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.

    http://freshmeat.net/projects/wput/

  • ferino
    Lv 4
    3 years ago

    Wget Upload

  • Jane
    Lv 4
    4 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.

  • Faith
    Lv 4
    4 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....

Still have questions? Get your answers by asking now.