Now that it is 930am and i have a clear head after yesterdays spectacular meltdown in my IT dept. I can see it :)
Thanks On Wed, Mar 14, 2012 at 7:43 AM, Mike Barnard <[email protected]>wrote: > Hi Collins, > > I was actually referring to the first post sent by Edmonds > > <snip> > > # Files to transfer on local server (*.* as everything in the directory) > *FILE="/path_to/localServer_userdir/*.*"* > > # Remote Server Directory > REMDIR="/path_to/remoteServer/valid_userdir/" > > # login to remote server > cd $REMDIR > ftp -ni $SERVER <<END > user $USERNAME $PASSWORD > binary > *mput $FILE/*.** > > </snip> > > The variable FILE already is a wildcard, mput should just have $FILE and > *not* $FILE/*.* > > That adds a wildcard to a wildcard. > > Seen it? > > On 13 March 2012 22:13, sanga collins <[email protected]> wrote: > >> Hi Mike, >> >> That was quote was from my post describing my script in my environment. >> Eds would need to modify to suit his setup >> >> On Tue, Mar 13, 2012 at 3:06 PM, Mike Barnard <[email protected]>wrote: >> >>> >>> >>> On 13 March 2012 19:29, Edmonds Namasenda <[email protected]> wrote: >>> >>>> >>>> FILE="/path_to/localServer_userdir/*.*" >>>> >>>> >>> you have already defined the variable FILE as a wildcard... >>> >>> >>>> >>>> mput $FILE/*.* >>>> >>> >>> You do not need to do that again here... >>> $FILE/*.* is the same as "path_to/localServeruserdir/*.*/*.* >>> and that does not make sense... >>> >>> >>> >>> -- >>> Mike >>> >>> Of course, you might discount this possibility, but remember that one >>> in a million chances happen 99% of the time. >>> ------------------------------------------------------------ >>> >>> _______________________________________________ >>> The Uganda Linux User Group: http://linux.or.ug >>> >>> Send messages to this mailing list by addressing e-mails to: >>> [email protected] >>> Mailing list archives: http://www.mail-archive.com/[email protected]/ >>> Mailing list settings: http://kym.net/mailman/listinfo/lug >>> To unsubscribe: http://kym.net/mailman/options/lug >>> >>> The Uganda LUG mailing list is generously hosted by INFOCOM: >>> http://www.infocom.co.ug/ >>> >>> The above comments and data are owned by whoever posted them (including >>> attachments if any). The mailing list host is not responsible for them in >>> any way. >>> >> >> >> >> -- >> Sanga M. Collins >> Network Engineering >> ~~~~~~~~~~~~~~~~~~~~~~~ >> Google Voice: (954) 324-1365 >> E- fax: (435) 578 7411 >> >> _______________________________________________ >> The Uganda Linux User Group: http://linux.or.ug >> >> Send messages to this mailing list by addressing e-mails to: >> [email protected] >> Mailing list archives: http://www.mail-archive.com/[email protected]/ >> Mailing list settings: http://kym.net/mailman/listinfo/lug >> To unsubscribe: http://kym.net/mailman/options/lug >> >> The Uganda LUG mailing list is generously hosted by INFOCOM: >> http://www.infocom.co.ug/ >> >> The above comments and data are owned by whoever posted them (including >> attachments if any). The mailing list host is not responsible for them in >> any way. >> > > > > -- > Mike > > Of course, you might discount this possibility, but remember that one in a > million chances happen 99% of the time. > ------------------------------------------------------------ > > _______________________________________________ > The Uganda Linux User Group: http://linux.or.ug > > Send messages to this mailing list by addressing e-mails to: > [email protected] > Mailing list archives: http://www.mail-archive.com/[email protected]/ > Mailing list settings: http://kym.net/mailman/listinfo/lug > To unsubscribe: http://kym.net/mailman/options/lug > > The Uganda LUG mailing list is generously hosted by INFOCOM: > http://www.infocom.co.ug/ > > The above comments and data are owned by whoever posted them (including > attachments if any). The mailing list host is not responsible for them in > any way. > -- Sanga M. Collins Network Engineering ~~~~~~~~~~~~~~~~~~~~~~~ Google Voice: (954) 324-1365 E- fax: (435) 578 7411
_______________________________________________ The Uganda Linux User Group: http://linux.or.ug Send messages to this mailing list by addressing e-mails to: [email protected] Mailing list archives: http://www.mail-archive.com/[email protected]/ Mailing list settings: http://kym.net/mailman/listinfo/lug To unsubscribe: http://kym.net/mailman/options/lug The Uganda LUG mailing list is generously hosted by INFOCOM: http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The mailing list host is not responsible for them in any way.
