dmitri wrote: |
-why don't you use sftp embedded into PhpED? |
Well, in *my* case, I already was a WinSCP user before my first contact with phpED. I use it to deal with many other file types phpED can't open, like pdf, spreadsheets, images, etc. Also, in WinSCP I can preview which files are about to be transfered in a batch 2way sync, upload or download.
I used SmartUpload from phpED for a couple of days, but couldn't make it set the timestamps synced. So I went back to WinSCP. Where can I set it to allways upload the local file no matter if the remote file timestamp is newer, and set that timestamp the same as the local? In my case, my remote server clock is synced with my local system, but if the remote file is newer it does not upload, and if the remote is older, it sets a timestamp that is 3 hours before the timestamp of the local file.
Example: Local file.php has timestamp 22/09/2006 17:33:12, and there is no remote file.php. I right-click the file.php in the workspace > smart sync > smart upload, and get the file uploaded with timestamp 22/09/2006 14:33:00. Notice the 3 hours diff and the seconds not set. I don't know if it's coincidence, but I'm in Brazil, and here is GMT -3 hours. Anyway, both remote server and local have the same system time, so this is not reason for that. Adjusting the timeoffset to -3, zero, or +3 in the connection properties makes no effect. What am I missing?
dmitri wrote: |
-why don't you edit your files in place using ssh terminal embedded into PhpED? |
I'd rather have the remote drive mapped in Windows when in intranet, and edit them in phpED, or use WinSCP and edit in phpED.
dmitri wrote: |
- Quote: | No need to go through the File menu. |
It does not look like a good argument. PhpED has Explorer window very similar to what you screenshoted and you can open files for editing from there.. |
Sure

But this is what our friend Filip wanted, I think. Anyway, I'd rather have both directories side by side.
dmitri wrote: |
Well, after all, if WinSCP runs multiple copies of a software, why don't you ask WinSCP about it?
When I run 2nd copy of PhpED and supply file name, it opens that file in the 1st instance and 2nd does not run.
Does it work for you too? |
I think WinSCP is not aware this "transference" between instances of phpED, and tells the user that the process it started (phpED) has been shut down. Actually this is just what I *think* that happens. Anyway, you can get the expected result Filip asked setting the way I posted.
I think phpED has many added features to help code development, but sometimes is hard to leave a tool you are so used to it.
