General discussion

Locked

autoftp

By pragneshkumar ·
i want to write a script for nt through that i can transfer files from linux to nt.
i knows the script to transfer files from linux to linux which is in shell script.
how can i write the same script for nt(usingn any script language)

my autoftp script for linux

#!/bin/sh
#script to run on local server, ftps file
#from remote server to local server
SOURCE="REMOTE_MACHINE"
FILE="autoUpload.pl"
ftp -in $SOURCE <<EndFTP
user username passwd
lcd source dir.
cd destination Dir.
get $FILE
bye
EndFTP
~

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

autoftp

by jeng In reply to autoftp

Type your script of "ftp" commands and use the "-s" option with Microsoft's ftp. The only thing you'll lose is the use of variable assignment. Type "ftp -?" for more info.

BTW... You might also want to set special attributes to the script file (read only by admin, etc.) since you'll have passwords in plaintext in the script file.

Collapse -

autoftp

by pragneshkumar In reply to autoftp

The question was auto-closed by TechRepublic

Collapse -

autoftp

by James_Randy In reply to autoftp

If you are still tackling this problem, perhaps you should consider calling your local super-hero.

Collapse -

autoftp

by pragneshkumar In reply to autoftp

The question was auto-closed by TechRepublic

Collapse -

autoftp

by pragneshkumar In reply to autoftp

This question was auto closed due to inactivity

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums