1.

Solve : Copying to a remote computer?

Answer»

Ok, let's say I'm trying to copy a file from my computer, to another computer. Is this possible without being on a LAN? Can I send files if I have the computer's IP address? I'm trying to get another ALTERNATIVE to a FTP site that works via batch.If you are both on a peer to peer network you could share files.We're not...

If you can recommend a good FREE FTP host, that would greatly be apreciated. I'll even let you be a beta tester for when it's almost ready to release. Google is your friendQuote from: BatchFileBasics on AUGUST 30, 2009, 03:47:49 PM

Google is your friend
Not really for this. I tried getting a good host last year, one wouldn't accept my password, another had hidden costs, another would bring up random errors and crash my script, at least 3 wouldn't transfer files. The LIST goes on. oh, well 0catch.com works for me, really EASY stuff. and free, been using it for around a year nowWhat's the syntax for ftp with a file containing all the commands (including username and password)?it should look like this:
Quote
ftp> open 0catch.com
Connected to 0catch.com.
220 ftp NcFTPd Server (licensed copy) ready.
User (0catch.com:(none)): batchfilebasics.0catch.com
331 User batchfilebasics.0catch.com okay, need password.
Password: its a masked password

its just your login info
and btw, to login to the website, the username is user.0catch.comI know about that. But let's say I have a file called comm.txt and in it is this:

User.0catch.com
PASSWORD
COMMANDS

The ftp command can utilise that and run those commands automatically.
I've done this before, I just can't remember how. ah yes, thanks to my vault of scripts i always keep

you will have a file with the data
Code: [Select]username
password
commands
and in your ftp batch
Code: [Select]ftp -i -s:data.txt ocatch.comQuote from: BatchFileBasics on August 30, 2009, 04:27:08 PM
ah yes, thanks to my vault of scripts i always keep

you will have a file with the data
Code: [Select]username
password
commands
and in your ftp batch
Code: [Select]ftp -i -s:data.txt ocatch.com
I remember the -s: part now, but what does -i do (I can't access my computer right now)?-i is for no prompting "would you like to send file xx (y/n)"
its for automated use with lots of filesQuote from: Helpmeh on August 30, 2009, 04:29:47 PM
what does -i do

Turns off interactive prompting during multiple file transfers.

List of FTP commands for the Microsoft command-line FTP client

http://www.nsftools.com/tips/MSFTP.htm

Thank you.


Discussion

No Comment Found