[X-Unix] ftp question

ecrist at secure-computing.net ecrist at secure-computing.net
Tue Jun 1 14:00:43 PDT 2010


Have you tried `man ftp`?
Sent via BlackBerry from T-Mobile

-----Original Message-----
From: Russell McGaha <russellmcgaha at mac.com>
Date: Tue, 01 Jun 2010 15:52:33 
To: A place to discuss Mac OS X from the perspective of the command	line.<x-unix at listserver.themacintoshguy.com>
Subject: [X-Unix] ftp question

Folks;
	I'm trying to script an upload to a ftp site:
		I can log into the ftp site with the script, but I can't figure out how to upload the file.  Here's what I'm doing:
			ftp ftp;//username:password at ftpsite:21/path
			this gets me to the directory were I want to upload the file, and gets me an "ftp>" prompt.  I've tried passing a "-u /fullPathToLocalFile" on that same line with no luck.  I've also tried using "put /fullPathToLocalFile" on a new line, also without success.  WHAT am I doing wrong

Russell

_______________________________________________
X-Unix mailing list
X-Unix at listserver.themacintoshguy.com
http://listserver.themacintoshguy.com/mailman/listinfo/x-unix



More information about the X-Unix mailing list