Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #49953

Re: question please

From Dave Angel <davea@davea.name>
Subject Re: question please
Date 2013-07-05 04:52 -0400
References <BAY168-W59BB23B795636075E146EEBE7D0@phx.gbl>
Newsgroups comp.lang.python
Message-ID <mailman.4284.1373014347.3114.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: question please Dave Angel <davea@davea.name> - 2013-07-05 04:52 -0400

csiph-web