Forum OpenACS Q&A: VFS and FTP

Collapse
Posted by Cheng-Yi Hsu on
I got a situation that need to write some files from aolserver to a remote ftp server, the condition is I can not use NFS mount and must catch file writing error.
tclvfs seems can solve this problem, after evaluate tclvfs, I can read the content of zip file and http web page, but I can not connect to a remote ftp server.
Any idea ?
Collapse
2: Re: VFS and FTP (response to 1)
Posted by Jade Rubick on
I'd try the aolserver mailing list (www.aolserver.com)
Collapse
3: Re: VFS and FTP (response to 1)
Posted by Cheng-Yi Hsu on
Now works,
I can use 
package require vfs::ftp
vfs::ftp::Mount ftp://username:password@hostname/mydir mydir

glob mydir
file copy mydir/doc1 doc2

Really interesting

Collapse
4: Re: VFS and FTP (response to 1)
Posted by Andrew Piskorski on
Try exec'ing ncftpput. If you have ncftpput installed (and many Linux box already do), this should be by far the easiest way to send a few files to an ftp server.