Anyone have any luck with S...

Anyone have any luck with SFTP?

by alanwill - 03:49PM, Apr 04, 2008

Hi, I just tried to use the SFTP option to upload my notebook to the web for the first time and don’t seem to have any luck. I keep getting an error saying there was a problem with the server, however I know it works because I’m able to connect using the sftp command line utility.Anyone else have any problems? Or does it work for anyone? I am using a non default port (2222), not sure if that’s the problem.Thanks!_Alan

alanwill

Member

06:36PM, Apr 04, 2008

This might be unrelated from my previous problem but I tried to export the entire notebook in HTML format to a folder on my drive, then I figure I could just SFTP it up manually, but the export appears to fail with the error in the screenshot below.

Is there a log that NB creates somewhere that would give anymore information?

Thanks again!
_Alan

Eric

Member

11:44PM, Apr 10, 2008

You can check and see if there are any helpful NoteBook related messages on the console (/Application/Utilities/Console).
---

Regards,

__Eric
Circus Ponies Software, Inc.

alanwill

Member

12:53PM, May 10, 2008

It looks like NB doesn't like to export attachments. I checked the log and all the errors were related to attachments that couldn't be exported:

5/10/08 12:44:15 PM NoteBook[53542] [DividerOutlineCell initWithPropertyListCoder:] - Couldn't find NotebookPage with identifier 54
5/10/08 12:44:17 PM NoteBook[53542] [Notebook(HTMLExport) aTagForLinkInfo:forCell:inPage:attachmentsFolder:usingFileManager:] - trouble copying (null) to /Users/****/Sites/notebook/****/attachments/
5/10/08 12:44:18 PM NoteBook[53542] [Notebook(HTMLExport) _attachmentsForPage:withDefinitions:] - trouble copying /Users/****/Documents/Notebooks/****.nb/attachments/****.rtf to /Users/****/Sites/notebook/****/attachments/****.rtf
5/10/08 12:44:19 PM NoteBook[53542] [Notebook(HTMLExport) _attachmentsForPage:withDefinitions:] - trouble copying /Users/****/Documents/Notebooks/****.nb/attachments/****.pdf to /Users/****/Sites/notebook/****/attachments/****.pdf
5/10/08 12:44:19 PM NoteBook[53542] [Notebook(HTMLExport) _mediaFramesForPage:withDefinitions:] - trouble copying /Users/****/Documents/Notebooks/****.nb/attachments/****.pdf to /Users/****/Sites/notebook/****/attachments/****.pdf
5/10/08 12:44:19 PM NoteBook[53542] [Notebook(HTMLExport) _mediaFramesForPage:withDefinitions:] - trouble copying /Users/****/Documents/Notebooks/****.nb/attachments/****_wp.pdf to /Users/****/Sites/notebook/****/attachments/****_wp.pdf

Is it true that attachments can't be exported?

NB: I've intentionally **** on certain words in the log for security/privacy reasons.

Thanks!
_Alan

joshcello

Member

02:24AM, Oct 24, 2009

I use SFTP regularly to upload my Notebook-generated web site to my university’s server, password and all. Maybe you should check your SFTP connection with another SFTP program like Fugu (http://rsug.itd.umich.edu/software/fugu/) to see if you are able to upload or download other files. (I also use Fugu to upload the final version of a page when I’m tweaking the code in the Notebook page to add Flash mp3 players.)

You must login to post a comment!

Don't have an account yet? Sign up for one.