question please

Dave Angel davea at davea.name
Fri Jul 5 04:52:07 EDT 2013


On 07/05/2013 03:48 AM, bill papanastasiou wrote:
> hello , good morning
>
> how i can pùt one python file in website ?
>

Whose website?  If it's your own, log into the server, and use cp. Or if 
you're remote with ssh access, use scp.  And if you really have a bunch 
of files to remotely transfer, use rsync from your local staging area. 
It's smart enough to only transfer the files that are missing or changed.

The type of the file doesn't matter, unless you also have to convert 
line-endings from Windoze to Unix.  And if so, you should do it as a 
separate step, when you update your staging area.  So the copying of the 
file onto the website can be done as a simple binary transfer.

If none of this works, or doesn't make sense, then tell us a little more 
about this site, how it's being hosted, and what access you do have.  In 
some cases the answer is to hand a USB stick to the administrator down 
the hall.

-- 
DaveA




More information about the Python-list mailing list