Στις 2/7/2013 10:21 πμ, ο/η Cameron Simpson έγραψε:
On 02Jul2013 08:57, Νίκος <ni...@superhost.gr> wrote:
| Thank you, the error have been caused due to the fact that the
| uploading procedure of my edited 'pelatologio.py' hadn't been
| completed yet, while i was requesting the execution of the script
| via browser.
|
| I didn't had to do anything it solved by itself, after upload was
| successful and file got  unlocked for access.

If you're uploading using sftp (or, worse, ftp), might I suggest
using rsync instead? Amongst other features, it uploads to a temporary
file and then renames the temporary file to the real file. There is
no window where the "live" file is being written to. The live file
is the old one, and then later it is the new one.


Actually i'm uploading via Notepad++'s NPPFtp plugin, which i'm afraid is pure ftp and not even sftp.

If i try to upload via FileZilla instead(which i can use as sftp on port 22), then it messes the cgi scripts encoding by uploading it as iso-8859-7 which then i need to ssh to the remote host and change it back to utf-8.

Also sometimes it takes a lot of time even with Notepad++ to even upload a 50 KB script.

Please tell me how to use the rsync method especially it would be best if i cna use it via text editor, Notepad++ or even better with Sublime Text.

Thank you Cameron.

--
What is now proved was at first only imagined!
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to