FTP still entirely broken for me

Updates and news regarding Aptana.

Moderator: Aptana Staff

FTP still entirely broken for me

Postby schvenk » Fri Sep 08, 2006 1:14 pm

I've just updated to the latest FTP release (I think...0.2.5.11358) and still have yet to successfully upload anything to the server. As far as I can see the connection is set up properly, but when I do an Upload sync, regardless of which files I've changed, I still just get "All files up to date." I've posted a bug about this too, but I thought that given how completely it doesn't work it might be worth posting here. Mac OS X 10.4.7 running on a G5 tower.
schvenk
 
Posts: 31
Joined: Tue Aug 01, 2006 8:47 am
Location: Cambridge, USA

Postby ingo » Fri Sep 08, 2006 2:18 pm

Hi Schvenk,

A few pieces of info would be very helpful:

1) What type of FTP server is it?
2) Where is it located compared to you (same time zone, different time zone), or how far apart are your clocks?
3) When looking at the items when doing a "both ways" sync, what are the differences in file modification times between the two?
4) Can you either:
a) drag items up to the server and they are copied there? What is the modification time of that item (right-click > properties)
b) edit an item directly on the server and save it back again?

A screenshot on the trac entry would be helpful, if that's possible.

http://www.aptana.com/trac/ticket/1043

Thanks,
Ingo
ingo
 
Posts: 1503
Joined: Thu Jul 13, 2006 6:05 pm

Postby klindsey » Fri Sep 08, 2006 3:31 pm

Hi Schvenk,

Also, I'm curious if you're seeing modification dates somewhere around the year 1970 (depending on what time zone you're in) in the Synchronization Preview.

-Kevin
User avatar
klindsey
 
Posts: 81
Joined: Thu Jul 13, 2006 6:28 pm
Location: Fort Worth, TX

Postby schvenk » Fri Sep 08, 2006 3:52 pm

Specific answers below, but I think the problem may be local and I'm surprised I didn't notice it earlier. When I do a bidirectional sync, every local time in the preview window is listed as N/A.

ingo wrote:1) What type of FTP server is it?

Looks to be ncFTP.
2) Where is it located compared to you (same time zone, different time zone), or how far apart are your clocks?

Appears to be in the same time zone, clocks no more than a second apart.
3) When looking at the items when doing a "both ways" sync, what are the differences in file modification times between the two?

Again, all local times are listed as N/A.
4) Can you either:
a) drag items up to the server and they are copied there? What is the modification time of that item (right-click > properties)

How would I drag items to the server? Would they get dragged from the Project to the File pane (which as far as I can tell can't be done in their default locations)?
b) edit an item directly on the server and save it back again?

This is weird: When I open the server up in the FTP item in the File pane, most of the files don't appear. I can expand and collapse folders, and some text files are visible, but none of the PHP files show up.
schvenk
 
Posts: 31
Joined: Tue Aug 01, 2006 8:47 am
Location: Cambridge, USA

Postby ingo » Fri Sep 08, 2006 4:10 pm

Hi schvenk,

Thanks for the quick response. A few response questions.

1) Can you try creating a folder on disk (in file view), and then setting that up as a sync connection. Does it work when you do that, or at least do the times not show as N/A?

2) Is the project you are trying to use underneath the aptana workspace root, or is it outside?

3) To drag items to the server, you have to do it in file view right now. So you could create a project shortcut in file view (you'll see a little icon there), and add a "shortcut". Note that there are issues with this right now if a project is not under your workspace root, but we are addressing those.

4) If you click the little green ball (show/hide web files) in the File Explorer toolbar, do your php files now show up?

Thanks,
Ingo
ingo
 
Posts: 1503
Joined: Thu Jul 13, 2006 6:05 pm

Postby schvenk » Fri Sep 08, 2006 4:41 pm

ingo wrote:1) Can you try creating a folder on disk (in file view), and then setting that up as a sync connection. Does it work when you do that, or at least do the times not show as N/A?


I don't see a way to do that. When I create a new sync connection for the project, my options are Select Remote Server, Add New Project Shortcuts, FTP, SFTP, and my existing FTP connection. I don't see a local folder option.

2) Is the project you are trying to use underneath the aptana workspace root, or is it outside?


Outside.

4) If you click the little green ball (show/hide web files) in the File Explorer toolbar, do your php files now show up?


Yes. What's the purpose of that? It seems somewhat unintuitive, and at the very least I would suggest it default to visible.
schvenk
 
Posts: 31
Joined: Tue Aug 01, 2006 8:47 am
Location: Cambridge, USA

Postby ingo » Fri Sep 08, 2006 5:02 pm

Hi Schvenk,

I've at least isolated one of the problems--it's that you have a project outside the workspace root. Two things to try:

1) Create a new project inside the workspace root.

2) Try using the file view. a) Switch to the file view, and find a folder on disk. b) Right-click, see "synchronize" and create a new sync connection to there. You could try to find your project folder on disk in the file view (as an example, my workspace is at c:\Documents and Settings\ingo\aptana\workspace\, so I could navigate to there)

3) The purpose of filtering files was to make it faster to open the file explorer on large directories. I agree--it should be off by default.

Best,
Ingo
ingo
 
Posts: 1503
Joined: Thu Jul 13, 2006 6:05 pm

Postby schvenk » Mon Sep 11, 2006 1:23 pm

ingo wrote:I've at least isolated one of the problems--it's that you have a project outside the workspace root.


It looks like the latest build lets me sync outside the project root. So that's great!

However, an additional problem (which I think I mentioned as a suggested feature earlier on) is that I have no way to tell the sync to ignore certain files every time. Specifically, the entire project is under Subversion control and I don't want it uploading all the Subversion files to the server? Is there any way to do that that I'm not seeing?
schvenk
 
Posts: 31
Joined: Tue Aug 01, 2006 8:47 am
Location: Cambridge, USA

Postby ingo » Mon Sep 11, 2006 1:33 pm

Hi Schvenk,

Great to hear that worked for you. Cloaking is next on our list, so you should be seeing that in the next build.

Best,
Ingo
ingo
 
Posts: 1503
Joined: Thu Jul 13, 2006 6:05 pm

Postby Kamisamanou » Sun Oct 01, 2006 5:23 am

I am also very interested in that as having as many files on my website as I do, it takes awfully long to sync because it scans every folder on my server, and most of them shouldn't be syncing with my desktop.
Image
Image
Image
Image
Image
User avatar
Kamisamanou
 
Posts: 52
Joined: Mon Jul 31, 2006 4:41 am

Postby ingo » Sun Oct 01, 2006 12:21 pm

Hi Kamisiamanou,

Have you tried (in the meantime), creating a more specific sync connection between perhaps a sub-folder on your web server, and a specific folder on your desktop? Or is that not possible.

As a side note, are you more interested in cloaking based upon file extension, or specifically excluding a particular file?

Best,
Ingo
ingo
 
Posts: 1503
Joined: Thu Jul 13, 2006 6:05 pm

Postby Kamisamanou » Mon Oct 02, 2006 6:38 am

ingo wrote:Hi Kamisiamanou,

Have you tried (in the meantime), creating a more specific sync connection between perhaps a sub-folder on your web server, and a specific folder on your desktop? Or is that not possible.

As a side note, are you more interested in cloaking based upon file extension, or specifically excluding a particular file?

Best,
Ingo


That is definitely a good suggestion, and it would work if all my files weren't uploaded to the /public_html/ directory on my website.

And I was thinking maybe a specific folder(s).
For Instance:
1. You do your "first" sync with the server.
2. After the server has finished and displayed what files need to be uploaded or downloaded, you select which files you want to upload/download.
3. After selecting what you want synced you could have several options including: the ability to select the other files and set them to either "ignore" or "Always ignore" where "Always ignore" would even bother checking the server.

or

You could have a "first sync" operation where aptana ask what it should and should not upload/download. For instance:
I don't want my blog directory checked by Aptana, but I do want my images directory checked. While doing my "first sync" Aptana would show me a menu tree of the file structure on the server, and I would be able to disable or enable certain directories by right-clicking and selecting disable/enable.

I hope that was elaborate enough.

Sayonara,
Kamisamanou
Image
Image
Image
Image
Image
User avatar
Kamisamanou
 
Posts: 52
Joined: Mon Jul 31, 2006 4:41 am

Postby ingo » Mon Oct 02, 2006 11:27 am

Hi Kamisamanou,

Thanks for the feedback. So, once you choose what files to cloak, it sounds like you generally don't change what is cloaked from that point on, right? Does anyone often change what they are cloaking?

I think our initial pass will be more like the second option, though the first mechanism is a nice feature addition to the current screen.

Thanks,
Ingo
ingo
 
Posts: 1503
Joined: Thu Jul 13, 2006 6:05 pm

Postby Kamisamanou » Wed Oct 04, 2006 4:42 am

ingo wrote:.....So, once you choose what files to cloak, it sounds like you generally don't change what is cloaked from that point on, right?.....

...Thanks,
Ingo


Yes. Of course, there would be the option to manually uncloak a file.
Image
Image
Image
Image
Image
User avatar
Kamisamanou
 
Posts: 52
Joined: Mon Jul 31, 2006 4:41 am

Re: FTP still entirely broken for me

Postby kelly986 » Sat Oct 17, 2009 6:42 am

And I still can't find out how to connect to phpmyadmin with dreamweaver cs4.
All solutions come up empty at the end and I always end up with the error:
An ftp error occured - 642-845 cannot make connection to host. The remote host cannot be found.

The info on my remote info and testing server are the same in the manage site window. 642-446 I did this because the guy at customer service for bluehost said to do this. But whenever I test the connection, I get the above error.

I opened the port in the firewall (3306), 70-432 I even turned off the firewall.

None of it is working.

Anyone know what the problem is?

I would really appreciate this.
kelly986
 
Posts: 1
Joined: Sat Oct 17, 2009 6:39 am


Return to Aptana News and Releases