Opening & Saving Using FTP
Like with files, there are two ways to open a file over FTP - you can browse to the file you want, or enter the full URL.
FTP URLs are similar to HTTP URLs. Where an HTTP URL uses the prefix http://, an FTP URL starts with ftp://. The URL syntax is the same - ftp://[server]/[path]/[file]. So, to open a file called test.html on the server ftp.dotedit.ashleybrown.co.uk, you would use the URL ftp://ftp.dotedit.ashleybrown.co.uk/test.html. Of course, this URL won't work - it's not a real FTP server. You may enter the URL straight into the "File Name" box in the URL dialog - any complete URL will be opened immediately, if it is correct.
The easier option is to browse for the file you wish to open. Before doing this you must configure your FTP servers. You do this by selecting Tools|Preferences... and selecting the "FTP" tab.
Once you have finished editing your file, simple click the save button to upload
the file back to the server. When you have opened a file from the Internet, the normal
save icon is replaced with the "Save To URL" icon
(
)
Editing straight from FTP is ideal when you need to fix a problem quickly and you know what the problem is. However, for normal editing it is recommended that you work on a local copy of a file and then upload to the FTP server when it is working correctly. The Save Copy feature allows you to do this.
