This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
blake
Master
Posts: 201 Joined: Mon Feb 23, 2009 9:42 am
Contact:
Post
by blake » Sat Sep 11, 2010 12:18 pm
Hi
Have looked in the archives for a script to do the following
Take a file or files from a directory/subdirectorie within the bot and upload them to a diectory on my website so they can be viewed however it will need to be protected with a username password function that can be added to some sort of config within the bot or stored in the same directory on the website
Thanks
tomekk
Master
Posts: 255 Joined: Fri Nov 28, 2008 11:35 am
Location: Oswiecim / Poland
Contact:
Post
by tomekk » Sat Sep 11, 2010 1:03 pm
Upload files to site, via form?
I think will be better via FTP, you can use a module from tcllib.
Code: Select all
man n ftp
ftp(n) ftp client ftp(n)
_____________________________________________________________________________________________________
NAME
ftp - Client-side tcl implementation of the ftp protocol
SYNOPSIS
package require Tcl 8.2
package require ftp ?2.4.9?
::ftp::Open server user passwd ?options?
::ftp::Close handle
::ftp::Cd handle directory
::ftp::Pwd handle
[ ... ]