|
-
Jul 9th, 2004, 03:49 PM
#1
Thread Starter
Hyperactive Member
-
Jul 9th, 2004, 04:21 PM
#2
Use the put command. It will ask for the path of the file on the local computer and the path of where you want to put it on the server.
Code:
ftp> put
Local file C:\myfile.txt
Remote file upload/myfile.txt
-
Jul 10th, 2004, 08:28 AM
#3
Thread Starter
Hyperactive Member
Hehe.
Thanks 
That worked.
I was also doing it this way but it wasnt working because i was using spaces in the filename...
Now is there a way to create a batch file that will log me in to the FTP server, upload a file and then disconnect?
Maybe:
Code:
connect server.com
user UserName
pass PassWord
put blah.txt
disconnect
bye
?
-
Jul 10th, 2004, 04:50 PM
#4
Put all your FTP commands into a file - one on each line and run FTP as follows:
Code:
ftp -s:filename.txt
FTP will execute each line of the script one after another.
-
Jul 11th, 2004, 02:45 AM
#5
Thread Starter
Hyperactive Member
Hmmm ok thanks!
Also is there a way to use spaces in filenames?
-
Jul 11th, 2004, 06:16 AM
#6
Originally posted by mike2
Also is there a way to use spaces in filenames?
Either enclose them in quotes or use the DOS file name format. I.e. take the first six characters insert a tlide and then a number. So "My Documents" becomes "MyDocu~1".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|