List Info

Thread: Incorparating FTP into tcl scripts




Incorparating FTP into tcl scripts
country flaguser name
United States
2007-10-18 11:48:57

All,

           ; I’ve never used FTP inside tcl. I am running TCL 8.2 on UNIX boxes and 8.4 on WINDOWS machines. I am planning on using TCL to run as a scheduler and on of the things that will need to be done is moving files between platforms. Any advice on how to approach this would be most helpful.

 

Gene Osteen

803-649-7486

 

Confidentiality Notice: The electronic mail and/or documents accompanying this transmission contain confidential information belonging to the sender, which is legally privileged. The information is intended only for the individual's) or entity named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please immediately notify us by email or telephone to arrange for return or to destroy the original document. Thank You.

 

 

Re: Incorparating FTP into tcl scripts
country flaguser name
United States
2007-10-18 11:51:39
Look at the help for the FTP package that comes with tclLib. Its simple stable and works like a charm
 

Robert M. Bartis 
Stinger Quality Assurance

TEL: (908) 582-6566
EMAIL: alcatel-lucent.com">bartisalcatel-lucent.com

 


From: activetcl-bounceslistserv.ActiveState.com [mailto:activetcl-bounceslistserv.ActiveState.com] On Behalf Of Gene Osteen
Sent: Thursday, October 18, 2007 12:49 PM
To: activetcllistserv.ActiveState.com
Subject: [Activetcl] Incorparating FTP into tcl scripts

All,

           ; I’ve never used FTP inside tcl. I am running TCL 8.2 on UNIX boxes and 8.4 on WINDOWS machines. I am planning on using TCL to run as a scheduler and on of the things that will need to be done is moving files between platforms. Any advice on how to approach this would be most helpful.

 

Gene Osteen

803-649-7486

 

Confidentiality Notice: The electronic mail and/or documents accompanying this transmission contain confidential information belonging to the sender, which is legally privileged. The information is intended only for the individual's) or entity named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please immediately notify us by email or telephone to arrange for return or to destroy the original document. Thank You.

 

 

Re: Incorparating FTP into tcl scripts
country flaguser name
United States
2007-10-18 11:54:37
Hi Gene,
 
There's an FTP package available as part of Tcllib which may well do what you need. You can find the docs for it at http://tcllib.sourceforge.net/doc/ftp.html - it's pretty simple to use, and has always worked well for me in the past. I have occasionally had issues with the timing out unexpectedly, though, and although they never gave me any major problems (I was using it manually), you might need to watch for that more carefully in an automated program.
 
Regards,
Mike
----- Original Message -----
Sent: Thursday, October 18, 2007 5:48 PM
Subject: [Activetcl] Incorparating FTP into tcl scripts

All,

           ; I’ve never used FTP inside tcl. I am running TCL 8.2 on UNIX boxes and 8.4 on WINDOWS machines. I am planning on using TCL to run as a scheduler and on of the things that will need to be done is moving files between platforms. Any advice on how to approach this would be most helpful.

 

Gene Osteen

803-649-7486

 

Confidentiality Notice: The electronic mail and/or documents accompanying this transmission contain confidential information belonging to the sender, which is legally privileged. The information is intended only for the individual's) or entity named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please immediately notify us by email or telephone to arrange for return or to destroy the original document. Thank You.

 

 


_______________________________________________
ActiveTcl mailing list
ActiveTcllistserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )