Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a small tool that will allow me to do one single tiny simple job :

  • auto upload files from local computer with Windows(xp/vista/7) to hosting (linux servers with cpanel)

There are probably tons of tools on the internet, but i dont' want to install anything on client computers that will allow them to browse or advanced functionalities and i don't like to install bloatware with features that will never be used

So i would appreciate your personal feedback and preferences, if you can tell me about the simplest and smallest tool outhere to auto-find new files and upload them to pre-defined location on hosting.

Thanks !


locked by HopelessN00b Mar 14 '15 at 16:15

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as off-topic by masegaloeh, HopelessN00b Mar 14 '15 at 15:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

You should probably say what version of Windows is on the client machines and what protocols are available on the server. – Dennis Williamson Jul 3 '10 at 13:43
thank you for suggestion - specified the local computer and server types - fair ? – mireille raad Jul 3 '10 at 13:56

The tiniest windows tool to allow automated uploading is probably FTP.

Here's a guide that I found:

Essentially, you create a text file containing the things you would type by hand:

 get default.asp

Then save that and run it (or schedule it) thusly:

 ftp -s:FTPcommands.txt

Of course, this is contingent on your hosting service allowing FTP.

ohhh lovely suggestion ! pretty nice indeed, any idea if i can get the status of upload (if completed or no so i can archive or rename the already uploaded folders ? ) – mireille raad Jul 3 '10 at 13:47
Sadly, I don't know of a way, but then I'm not a huge Windows person, either. Very possibly someone may comment who knows, or you could ask it as a separate question – Matt Simmons Jul 3 '10 at 13:56

On which end would you want to know the status? I'm not sure how you would know on the server end how big the file is supposed to be from the client end and therefore able to determine if the transfer was successful.

On the client side, you might be able to use the return code of the scheduled task to determine if the transfer was successful but that's a bit iffy as well.

Maybe your best bet would be to make your script file a little more complicated and write the results to a variable and have further processing in the script that would rename if the results are successful.

Also take a look at wget and cURL to see if they offer upload features. There may be some additional functionality in them over the dumb Windows ftp client. – keith stokes Jul 3 '10 at 15:51
Thanks keith - well i thought about not re-inventing the wheel - i tried to do something with - but was not working as well here is the post on stackoverflow… If you have any sample code that would allow file upload, would appreciate it a lot :) – mireille raad Jul 3 '10 at 16:03
I don't look at StackOverflow but found a post there regarding PowerShell, which is noticeably more powerful than the standard Windows command interpreter. Let's see if the machinery lets me include a link:… If not, it's question 936108. Also take a look at WinSCP. It has lots of commandline and scripting options. – keith stokes Jul 3 '10 at 16:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.