It's a python issue, in any string where you use \t python will replace that with a tab. Use \\t
On Fri, Jul 26, 2013 at 1:56 PM, John Harris <[email protected]> wrote: > I'm trying to switch to a local folder then copy that to a remote machine. > I'm experiencing the following issue: > > > > def cp_file(): > with lcd("C:\Users\John\Some Folder\training"): > put('this', '/usr/something/somethingelse', use_sudo=True) > > ValueError: 'C:\Users\John\Some\ Folder raining\this' is not a valid local > path or glob. > > ### then tried > #### > > def cp_file(): > with lcd("C:\Users\John\Some Folder\\training"): > put('this', '/usr/something/somethingelse', use_sudo=True) > > ValueError: 'C:\Users\John\Some\ Folder\training\this' is not a valid local > path or glob. > > > Any help would be much appreciated, > > > John > > > _______________________________________________ > Fab-user mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/fab-user > -- Andrés Riancho Project Leader at w3af - http://w3af.org/ Web Application Attack and Audit Framework Twitter: @w3af GPG: 0x93C344F3 _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
