Title: RE: Document scan and retrieval (looking for software)

I just use unix cp command, and have smbmount with a constant
link. Of course after every reboot, I have to re-mount the partitions
I have a script setup to do this, which requires manual entry of the
password, as I don't want to hardcode the password for obvious reasons.

If I were to use smbclient method, I'd either have to hardcode the password
or enter it on every move, and at 3:30am, that would prove to quite
annoying :)

The reason I use cp, rather than have UV write directly to the partition
is UV tends to "delete" then "write", which requires two different permissions
to get set on the windows side. the ability to create and write, and the ability
to remove.


George

>-----Original Message-----
>From: Ian McGowan [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, February 04, 2004 11:49 AM
>To: 'U2 Users Discussion List'
>Subject: RE: Document scan and retrieval (looking for software)
>
>
>>From: George Gallen [mailto:[EMAIL PROTECTED]]
>>they would intresting to see. Either offlist or onlist.
>
>it's basically the same as using ftp.  a get program seems
>redundant - if
>you have samba installed windows clients just drop the files
>into a share.
>here's a snippet i use for puts:
>
>DO.SMB:
>   FTP.REC="cd ":REMOTEDIR
>   FTP.REC<-1>="put ":FILE
>   FTP.REC<-1>="quit"
>   WRITE FTP.REC ON HOME.F, "FTP.SCRIPT"
>   PRINT "SMBing to ":ADDRESS
>   E="!echo '(cd ":LOCALDIR:" ; smbclient ":ADDRESS:
>   E:=" NTpassword -U NTuser < ~/FTP.SCRIPT)' | ksh"
>   EXECUTE E
>RETURN
>
>the nonsense with "(cd blah; blah) | ksh" would be better
>using "lcd" in the
>script to change local directory, but it works so i'm not
>going to touch it
>:-)
>--
>u2-users mailing list
>[EMAIL PROTECTED]
>http://www.oliver.com/mailman/listinfo/u2-users
>

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to